Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Clive Quinn
July 28, 2003, 11:04 am
rate this thread
I have a CSS style question which I hope someone can assist me with.
Basically I am trying to convert my web page from frames to fixed
positioning in CSS.
Now I am trying to achieve the following in CSS:
Now within my html code I have the following:
<img class="MainPics" src="My.jpg" alt="My.jpg">
Some links here
Now whenever I view the page in IE6 I can see the image appear in the center
of the page which is what I want but the sidebar links will appear
underneath the image on the left hand side of the screen.
My problem is that I want to position these links beside the image on the
left hand side of the screen. I seem to be missing something in my style
sheet but when I view the page in Netscape 7 it seems to be fine.
Any body any ideas.
Re: CSS - HELP
Do not do this. It is very dangerous.
<snip suspect CSS>
The snipped CSS *will* cause some of your content to overlap other bits.
Use standard flow, do not position anything, except for the sidebar which
you float left, and the body which you give a left hand margin, like this:
They will be if you use the above approach.
What you are missing is that CSS is not a replacement for frames. It is an
entirely different approach. You should not try to reproduce the frames, you
should abandon the concept of frames entirely all that goes with them. Then
build the page from the ground up using CSS.