Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23
  1. #11
    Join Date
    Nov 2006
    Location
    Oak Harbor, WA
    Posts
    61
    Plugin Contributions
    0

    Default Re: Header image behind my logo?

    Funny, I had commented out the two lines in the stylesheet which referred to the header_bg, but IE was still showing it, even though all was kosher in FF.

    Even stranger, view source in IE did not have any reference to header_bg in the file. So it was displaying it, but wasn't part of the source?? It wasn't a cacheing issue either. I had to actually delete the two lines for IE to play nice.

    I hate IE.
    [FONT=Comic Sans MS]Steel Rat[/FONT]

  2. #12
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Header image behind my logo?

    Quote Originally Posted by Steel Rat View Post
    Funny, I had commented out the two lines in the stylesheet which referred to the header_bg, but IE was still showing it, even though all was kosher in FF.

    Even stranger, view source in IE did not have any reference to header_bg in the file. So it was displaying it, but wasn't part of the source?? It wasn't a cacheing issue either. I had to actually delete the two lines for IE to play nice.

    I hate IE.
    View source wouldn't show any reference to the header_bg as it is in an external stylesheet not the source.

    The usual reason for the other symptoms that you described is using the wrong type of comment for a stylesheet, i.e. using either a php or HTML comment. FF tends to be very nice about this and play along anyway, but IE treats it as an error and ignores your attempts to make it a comment.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #13
    Join Date
    Nov 2006
    Location
    Oak Harbor, WA
    Posts
    61
    Plugin Contributions
    0

    Default Re: Header image behind my logo?

    Hmm, if the image is being displayed how can it not be part of the source?

    I used // as a single line comment, like a java comment, since CSS seems to use that notation, such as /* */ for multi-line.

    I can still hate IE
    [FONT=Comic Sans MS]Steel Rat[/FONT]

  4. #14
    Join Date
    Nov 2006
    Location
    Oak Harbor, WA
    Posts
    61
    Plugin Contributions
    0

    Default Re: Header image behind my logo?

    Quote Originally Posted by Steel Rat View Post
    Hmm, if the image is being displayed how can it not be part of the source?

    I used // as a single line comment, like a java comment, since CSS seems to use that notation, such as /* */ for multi-line.

    I can still hate IE
    But now that I look at it, I can see that happening.

    So what is the proper single-line comment for CSS?
    [FONT=Comic Sans MS]Steel Rat[/FONT]

  5. #15
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Header image behind my logo?

    Quote Originally Posted by Steel Rat View Post
    But now that I look at it, I can see that happening.

    So what is the proper single-line comment for CSS?
    It's /* comment */
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  6. #16
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Header image behind my logo?

    Quote Originally Posted by Steel Rat View Post
    Hmm, if the image is being displayed how can it not be part of the source?
    The image is part of the styling applied to the source. This separation of source (aka content) from styling (aka presentation) lies at the heart of current best practise in web design.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  7. #17
    Join Date
    Nov 2006
    Location
    Oak Harbor, WA
    Posts
    61
    Plugin Contributions
    0

    Default Re: Header image behind my logo?

    Quote Originally Posted by kuroi View Post
    The image is part of the styling applied to the source. This separation of source (aka content) from styling (aka presentation) lies at the heart of current best practise in web design.
    Gotcha. Makes sense, but it does make things a bit harder to troubleshoot. for me, anyway.

    I'm still a Tables man. Can't stand the flightiness of Divs, and how they often fail to constrain content much of the time.
    [FONT=Comic Sans MS]Steel Rat[/FONT]

  8. #18
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Header image behind my logo?

    I'm still a Tables man. Can't stand the flightiness of Divs, and how they often fail to constrain content much of the time.
    Aw... but, you do not have to give up the tables totally. Only use them where absolutely neccessary. Use the CSS backgrounds with the table(s) for fabulous effects. (that is how the rounded corner frames are done on this site)
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  9. #19
    Join Date
    Nov 2006
    Location
    Oak Harbor, WA
    Posts
    61
    Plugin Contributions
    0

    Default Re: Header image behind my logo?

    Quote Originally Posted by Kim View Post
    Aw... but, you do not have to give up the tables totally. Only use them where absolutely neccessary. Use the CSS backgrounds with the table(s) for fabulous effects. (that is how the rounded corner frames are done on this site)
    I'm still figuring that out, lol. I did add a bg to the centercolumn on my site via CSS (just a png created in Fireworks. So I know the concept.) It would be nice, however, if IE would join the 21st century and retain transparency on PNGs. Don't know if IE7 does or not.
    [FONT=Comic Sans MS]Steel Rat[/FONT]

  10. #20
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Header image behind my logo?

    Quote Originally Posted by Steel Rat View Post
    It would be nice, however, if IE would join the 21st century and retain transparency on PNGs. Don't know if IE7 does or not.
    IE7 does. You're going to have to hate it a little less now
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Add an image behind the search in header
    By Muzz in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 12 Apr 2010, 08:23 AM
  2. Default image locateed behind logo in classic template.
    By picowico in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Feb 2010, 05:12 AM
  3. changing image behind logo
    By bakaguyjean in forum Basic Configuration
    Replies: 2
    Last Post: 23 Dec 2009, 05:47 PM
  4. Image behind ezpages header links?
    By webgalore in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 17 Sep 2008, 01:35 AM
  5. Header image partially hidden behind page content
    By brennon in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 16 May 2007, 08:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg