Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Screen resolution and HTML 1

Status
Not open for further replies.

edgarv

MIS
Jul 25, 2003
248
US
Hello,

I just started learning html, i created a webpage. Is there a way to set my page so everyone sees the same thing, with different screen resolutions??
for example if someone has his or her monitor set to 1024 by 768 pixels and somebody else has his or her monitor set to 800 by 600 pixels they are going to see diffenrent things so is there a way to set my webpage so they both see the same??

thank you

E.V.
 
I don't understand what you mean. Is seeing a box at 500px wide and 300px high on 1024 resolution different than seeing it on 800 resolution? In some way it is. In the latter, the box takes up much more space. What exactly is it you want -- a fixed layout so it always takes up the same amount no matter if a person has low or high resolution or a fluid layout that fills up any resolution client might be using. From what you wrote, it is hard to tell. If you want my opinion, go with the fluid.
 
go with the fluid? sorry I don't mean to be an ignoramous, it just comes naturally, but go with the fluid?? what do you mean by that?
 
Sorry, I don't mean to be mean, it just comes naturally, but have you read anything but the last sentence? How about
Vragabond said:
fluid layout that fills up any resolution client might be using
If you want a quick and dirty test of what is what, try this:
Code:
<div style="width: 760px; height: 200px; background: #aaa;">This is a fixed width div set for the 800x600 resolution</div>
<div style="width: 100%; height: 200px; background: yellow;">This is a fluid div that will always take up entire width of the screen.</div>
 
ahhhh I got it. Thank you so very much that really hepls

O.K. it is back to the drawing board for me.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top