2 images in the header

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
jtheeuwes

2 images in the header

Post by jtheeuwes »

How can I add 2 images in the header? One that should be aligned left and another that should be aligned right and move when the window is resized.
I did put the first one in the "layout" style sheet.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: 2 images in the header

Post by Dr.CSS »

what you want is a 'liquid' / 'strechy' page so you need to do most of it in '%' .






#header{width:**%}
#left{float:left;width:**;height:**;margin:**;padding:**;}
#right{float:right; bla bla bla}

the widths for left & right can be **px, **%, margins can be same,, px, or %,
you may have to futz around for IE,,

  HTH
          mark
jtheeuwes

Re: 2 images in the header

Post by jtheeuwes »

Thanks Marc, I try that.
Locked

Return to “Layout and Design (CSS & HTML)”