+ Reply to Thread
Results 1 to 8 of 8

Thread: issue in chrome

  1. #1
    StarWallace's Avatar
    StarWallace is offline x10Hosting Member StarWallace is an unknown quantity at this point
    Join Date
    Jun 2011
    Posts
    18

    issue in chrome

    ok, im not entirely sure if this is the right section for this, but here goes.

    I've been building my new site design this weekend and for some reason, i'm getting some odd issues with google chrome and only chrome. every other browser is fine (ok, maybe not IE 6, but who uses IE 6 any more :P)

    this is what i get in firefox and is exactly what i want to get:
    http://i51.tinypic.com/2z5lv9z.jpg

    this is what i get in chrome and i circled the issues:
    http://i56.tinypic.com/2weywxg.jpg

    for some reason, it looks like Chrome is displaying the background image twice..., one where it's supposed to display, and the once again in the main content column, which causes the whole thing to shift over and look like a mess. I'm using a table to structure the page, with the background image CSSed onto the <tr> and the side bar and main content in <td>s

    why is it that firefox, opera, safari, and heck, even IE display this just the way i want , but not chrome?

    go and take a look at my page for you self if you wish, http://microstudios.co.cc/construction. right click > view source if you want, it's all html right now

  2. #2
    littlehumanity86 is offline x10Hosting Member littlehumanity86 is an unknown quantity at this point
    Join Date
    Jun 2011
    Posts
    1

    Smile Re: issue in chrome

    Hi,

    its the problem with your background image.

    tr#Content {
    background: url("images/content.png") repeat-y -12px 0px;
    color: #B1B1C5;
    vertical-align: top;
    }

    use the above style and view the O/P.
    This may Help You.

    Regards,
    Little Humanity

  3. #3
    StarWallace's Avatar
    StarWallace is offline x10Hosting Member StarWallace is an unknown quantity at this point
    Join Date
    Jun 2011
    Posts
    18

    Re: issue in chrome

    mmm well thanks for the help, but shifting it to the left isn't going to do anything, except cause new problems... and it breaks what worked in firefox... thanks for trying though...

    edit: i figured out the issue... it seems as though chrome is displaying the background image as part of each individual <td> cell rather than part of the <tr> row, regardless of the fact that the background is from the <tr> row. Now i just need to figure out how to get around this lovely little "feature". Could someone help me with that?
    Last edited by StarWallace; 06-13-2011 at 10:34 AM.

  4. #4
    Teensweb is offline x10 Lieutenant Teensweb is an unknown quantity at this point
    Join Date
    May 2008
    Posts
    352

    Re: issue in chrome

    Works fine for me with chrome (latest ver). BTW, in your left nav menu <a> contains an <li> tag which's not correct(allowed), but in your case it won't make a difference in rendering though.

  5. #5
    StarWallace's Avatar
    StarWallace is offline x10Hosting Member StarWallace is an unknown quantity at this point
    Join Date
    Jun 2011
    Posts
    18

    Re: issue in chrome

    yeah i ended up figuring it out... i end up splitting the table up and putting the background image in a div around the main section... a little convoluted and not what i wanted, but at least it looks right across all browsers.

    and as for the a round the li, i did that because i wanted it to create a styled link out of the whole line item, taking up the full width and height of that line... not just the text. This way i get the effect i wanted. i know it's not correct syntax, is there a better way i could do it with valid syntax?

  6. #6
    Teensweb is offline x10 Lieutenant Teensweb is an unknown quantity at this point
    Join Date
    May 2008
    Posts
    352

    Re: issue in chrome

    You could do something like:
    HTML Code:
    <li><a style="display: block; margin: 0; padding: 5px;" href="#">Home</a></li>
    And change the padding of the parent li tag to 0.(its on your main.css under ul.SideNavList li{} )

    Based on the cotent of the page, I guess the page was rendered by some template software, right? By default, did they have the same invalid html too?
    Last edited by Teensweb; 06-14-2011 at 11:30 PM.

  7. #7
    StarWallace's Avatar
    StarWallace is offline x10Hosting Member StarWallace is an unknown quantity at this point
    Join Date
    Jun 2011
    Posts
    18

    Re: issue in chrome

    nope, this is all me, hand coded. The gibberish filler in the page came from MS Word, using the function "=rand(3,4) <enter>" i just filled it with random text.

    OF COURSE! block out the anchor tags! makes sense, thanks for the tip!

  8. #8
    Teensweb is offline x10 Lieutenant Teensweb is an unknown quantity at this point
    Join Date
    May 2008
    Posts
    352

    Re: issue in chrome

    Uh oh, dint realize that they dumped the quick brown fox- lol!
    I'm not sure about this, but I think there might be some extra css in your page that you can remove to optimize the size/rendering. Good luck anyway!
    Last edited by Teensweb; 06-15-2011 at 04:19 AM.

+ Reply to Thread

Similar Threads

  1. Anyone tried Google Chrome?
    By sunfire79 in forum Off Topic
    Replies: 46
    Last Post: 10-01-2009, 08:48 PM
  2. Chrome?
    By tri30t in forum Off Topic
    Replies: 14
    Last Post: 09-10-2008, 05:14 PM
  3. Like Chrome?
    By Spartan Erik in forum Off Topic
    Replies: 3
    Last Post: 03-08-2007, 10:07 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
x10hosting free hosting for the masses
dedicated servers