L
Leslie
After years of using tables for page layout I'm finally trying to
learn CSS. I'm following various tutorials, viewing source codes and
just trying out stuff. I'm pretty comfortable with the basic stuff,
but am stumped on how to position a specific graphic.
I'm building a page with a background with a 100px left border. (the
background image is 1500px wide to accommodate various browser
resolutions) I've got a 600px wide banner graphic that I want to
place at the top of the page and centered in the area that's to the
right of the page border.
If I use absolute positioning I'm presuming everyone viewing the page
will be viewing it at the same resolution I am. That obviously won't
be the case.
I'm guessing I should be using relative positioning, but how? What's
the code I should use?
This is probably a very basic question, but I can't find the answer to
what I want and I'm getting frustrated!
Thanks for any help!
Leslie
email address is invalid
learn CSS. I'm following various tutorials, viewing source codes and
just trying out stuff. I'm pretty comfortable with the basic stuff,
but am stumped on how to position a specific graphic.
I'm building a page with a background with a 100px left border. (the
background image is 1500px wide to accommodate various browser
resolutions) I've got a 600px wide banner graphic that I want to
place at the top of the page and centered in the area that's to the
right of the page border.
If I use absolute positioning I'm presuming everyone viewing the page
will be viewing it at the same resolution I am. That obviously won't
be the case.
I'm guessing I should be using relative positioning, but how? What's
the code I should use?
This is probably a very basic question, but I can't find the answer to
what I want and I'm getting frustrated!
Thanks for any help!
Leslie
email address is invalid