R
rfq
I am just getting started on html and css. I have a very simple page.
There is a jpg image at the top of the page that is aligned left. Then
there are two DIV's created, the main div and a right hand navigation
bar div. I am having trouble getting the tops of both divs to align. I
can adjust the top margins for each div to render as aligned in Opera7
but then IE6 shows the main div slightly lower than the nav div. If I
adjust it to render in IE6 then it throws the Opera rendering off.
My HTML file places the image first and then lists the divs. I am
using relative positioning in the CSS file for these divs. Should I
use absolute positioning or am I missing something simple? Should I
nest the two divs inside one larger div?
Thanks,
RQ
There is a jpg image at the top of the page that is aligned left. Then
there are two DIV's created, the main div and a right hand navigation
bar div. I am having trouble getting the tops of both divs to align. I
can adjust the top margins for each div to render as aligned in Opera7
but then IE6 shows the main div slightly lower than the nav div. If I
adjust it to render in IE6 then it throws the Opera rendering off.
My HTML file places the image first and then lists the divs. I am
using relative positioning in the CSS file for these divs. Should I
use absolute positioning or am I missing something simple? Should I
nest the two divs inside one larger div?
Thanks,
RQ