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. :)
fuston05 0 Junior Poster in Training
Recommended Answers
Jump to Post— mankis 0Sometimes 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 …
All 4 Replies
mankis 0 Newbie Poster
teedoff 3 Posting Pro
AtomicPages 0 Newbie Poster
fuston05 0 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.