Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
5px
- Page 1
Re: Seeking Help for Creating a Circle Generator Tool
Programming
Game Development
2 Months Ago
by jackwells
Here is a code i created <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Minecraft Circle Generator</title> <link rel=&…
Re: splitting a string with preg_split using multiple delimiters
Programming
Web Development
14 Years Ago
by pritaeas
(px|em|pt|%)
Re: Base and derived class
Programming
Software Development
13 Years Ago
by highflyer8
px, py and pz?
Re: Check my Code
Digital Media
UI / UX Design
14 Years Ago
by almostbob
px are not the recommended scalar/measurement on a .12 dot pitch hi res screen 15px=1.8mm=.07inch high, hardly visible current best practice is em % as measurements, settings that adjust to screen resolution and user preference. [indent]Using the current best practic will also make the site more user friendly, as impaired person wont have to use…
Re: Problem with SImple Linear Drop Down Menu
Digital Media
UI / UX Design
13 Years Ago
by almostbob
px are a poor choice, the menu will work on Your pcs, but not on anyone elses with a different screen resolution window size basefont 0(zero) is dimensionless and will cause compliant browsers to throw the css definition away if it represented as 0px[code=css]#menu ul { margin:0 0 0 10px; padding:12px 0 0 0; list-style:none; }[/code]lose the …
Re: browser redirection
Programming
Web Development
13 Years Ago
by jainam08
px means? i'm not getting....
Re: adding spacing to horizontal list
Digital Media
UI / UX Design
10 Years Ago
by JorgeM
Px is fixed-size unit. One pixel is equal to one dot on the computer screen. Em is a scalable. An em is equal to the current font-size. You wouldnt use em as a unit of length unless you want it to scale as the font size scales since em is based upon font-size. you typically use % and em units in responsive web designs where as the dimensions and …
Screen resolution 1400 x 1050 px who has this?
Digital Media
UI / UX Design
13 Years Ago
by Kraai
Hi I have a client wanting a wordpress site with fixed background image and content scroll over it. My problem is, that my client has a 1400 x 1050 px screen, and I have no idea how this background I currently have on the site, would appear on their screen. I myself can only check up to 1240 x 1024 px on resolution. Up to what I can check, the bg …
Re: Which one? em, pt, px, %
Digital Media
UI / UX Design
14 Years Ago
by MidiMagic
Answers: For browser and monitor screen resolution compatibility: - Use % to place objects on the page or set sizes on the page. - Use em for sizes and distances related to the text size rendered. - Use the relative text size names, or use a percentage of the base font, to set font sizes. - You can use % or em to resize an image, but it might lose…
Re: CSS - em vs. px
Digital Media
UI / UX Design
14 Years Ago
by almostbob
an em has no direct relationship to a pixel, the relationship given so many times in old, very outdated, publications is based on a 96dpi crt monitor, current monitors 176dpi and higher, so there are a hell of a lot more px in the screen, and in an em an em is entirely a relative dimension, the size of the W or M in the current basefont, the …
Re: css div width.. % or px ??
Digital Media
UI / UX Design
13 Years Ago
by mankis
Sometimes it is better to use % sometimes px. For example. If you wish that your div has same width as page in browser than you will use %. If you wish that your div has same width as, for example, background image you have prepared for it than you will use px. Also if you have some small div that is inside of the bigger one and you wish that …
Re: Screen resolution 1400 x 1050 px who has this?
Digital Media
UI / UX Design
13 Years Ago
by Kraai
Hi I actually found a nice online screen resolution tester yesterday, and it seems the bg image is ok on that site. It only starts to tile with a resolution of 1920 x 1200 px, and the tile does not look bad at all. So I am a happy chappie. Thanks for replying, I will mark this as solved. For those of you who want to test your work in different …
Re: CSS - em vs. px
Digital Media
UI / UX Design
14 Years Ago
by Frankey
I always use pt when it is concerning fonts/text. pt is in my opinion the easiest to work with and the best compatible with all resolutions, also the mobile browser. In other words, the text remains readable with pt. IE supports em,%,px and pt. For divs i always use px because you don't want to have a messy layout in other resolutions, or you …
bottom 20 px from "canvas" NOT screen - possible ?
Digital Media
UI / UX Design
15 Years Ago
by AndyTT75
Hello to all Can anyone help me ? I'd like to create a box whose bottom is always 20 px from the bottom of the "canvas" (=the total area rendered by the browser). This is straightforward when the height of the canvas is less than the screen height But tricky when the canvas is taller than the screen-height. Is this …
Which one? em, pt, px, %
Digital Media
UI / UX Design
14 Years Ago
by veledrom
Hi, What is the best out of "em, pt, px, %" to use for all browsers and platforms? e.g. pt is better for this purpose. em is better for this purpose. etc. Thanks
CSS - em vs. px
Digital Media
UI / UX Design
14 Years Ago
by kooia
Hi everyone, I have the impression that Internet Explorer can only use EM's. I also have the impression that em's are normally 16 px, but can very in size. Is this true? Both ways, how do you define the size yourself? kooia
Re: CSS - em vs. px
Digital Media
UI / UX Design
14 Years Ago
by kooia
So, am I getting you right that IE supports PX, but it's better to use % and EM's?
Re: CSS - em vs. px
Digital Media
UI / UX Design
13 Years Ago
by Kaycy
Thank you for the clarification of the EM vs PX. I am learning that my way of creating web sites is so out dated! I will start using the EM's from now on. :)
pixels(px) to percentage conversion
Digital Media
UI / UX Design
13 Years Ago
by yopirates
Hi ppl i have a doubt regarding pixel to percentage conversion in html.. i had designed a website using width and height in pixels but, when i change the screen resolution the alignment is changing so.. i need to convert all my (px) into respective percentage.. so tat the alignment is automatically adjusted
Re: pixels(px) to percentage conversion
Digital Media
UI / UX Design
13 Years Ago
by hielo
[QUOTE]i had designed a website using width and height in pixels [/QUOTE] Not only that, but you also used a SPECIFIC resolution. Basically you need to make a copy of that page and on the new copy, working with the same resolution as before, start changing those px to percentages until your new design (using percentages) is as close as possible as …
css div width.. % or px ??
Digital Media
UI / UX Design
13 Years Ago
by fuston05
Just curious as to which is better to use in css ... width % or width in px?? Are there any known browser compatibility issues that might prompt a preference between the two? Thank you in advance for you input. :)
Re: css div width.. % or px ??
Digital Media
UI / UX Design
13 Years Ago
by AtomicPages
It's a matter of preference really. Sometimes px is nice because you know the unit of measure and you don't necessarily need to make any calculations. Sometimes percentages are nice because it's generally a friendlier browser experience for "liquid" layouts. Large areas where you know you want the width to max out the parent element you …
Re: CSS - em vs. px
Digital Media
UI / UX Design
13 Years Ago
by adri_grace
I started out using ems, but I've had several clients complain about how pixelated the fonts look on PCs. I tried px and that seems to help, but hasn't solved the problem entirely. Will % resolve this problem?
Struggiling with a Maze code
Programming
Software Development
12 Years Ago
by SQLpower
Hello. I have some problems understanding the code. I'd like to ask for some help. I need someone to break it down for me. Just to explain what's going on and what's happening. Well this is map.cpp: I got the other bits but I am struggling with this one and I'd appreciate any help. [CODE]#include <iostream> #include <string> #…
help with Java
Programming
Software Development
18 Years Ago
by jtf27
Hi Not sure if this is the right section of the forum for this question. I am trying to shorten the background in this header I am working on. I do not know java at all so I am less then a newbe perhaps a wanabe (smile) here it is anyway. body { color: #333333;/*themecolour6%0;*/ background-color: #FFFFFF;/*themecolour6;*/ …
Re: Struggiling with a Maze code
Programming
Software Development
12 Years Ago
by SQLpower
Thank you. Fair enough, I had to be more clear. Alrighty, first we need the header file for that file called map, right, here it is. [CODE] #include <iostream> #include <string> using namespace std; class Map { private: int pX; int pY; int fX; int fY; int keys; string* map; public: Map(); void pos(int&, int&); char…
Showbiz carousel and cycle problem
Programming
Web Development
10 Years Ago
by cgull
Showbiz carousel and cycle problem Hello, I am looking for a jquery guru that can help with a plugin that I bought. The developer of the plugin does not answer me and I need to go live next week. The plugin is called: Showbiz Carousel. It is a carousel for content. I need to tweak it and add jquery cycle to images in it and an external link …
jQuery gallery direction problem
Programming
Web Development
12 Years Ago
by cgull
Hello, I have downloaded a jquery gallery and made a lot of changes to it. Now I am stuck with one thing that I can't change. The gallery has thumbnails that scorll on the bottom. I want the direction of the big image animation to change. It is hard to explain, but if you go to this page: [URL="http://www.ruthrudin.co.il/…
Upload Image
Programming
Web Development
9 Years Ago
by davy_yg
update_image2.php <?php session_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="…
spliting image via jquery but getting issue if image size is large
Programming
Web Development
10 Years Ago
by neha05
…<script> $("#example").picstrips ({ splits: 2, hgutter: '
5px
', vgutter: '0px', bgcolor: '#fff' }); </script> <…<script> $("#example").picstrips ({ splits: 2, hgutter: '
5px
', vgutter: '0px', bgcolor: '#fff' }); </script> </…
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC