Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Nov 2010
    Posts
    52
    Plugin Contributions
    0

    Default Alignment and size of tile_back.gif

    OK I think the pic below says everything. I am having some minor alignment issues. What I have done so far is added a height attribute to the css file whenever tile_back.gif is used.

    I am using version 1.3.9h and it is not modded and no addons except for the new image handler2 upgrade.

    See the issue your self at http://www.oceanabyssaquatics.ca/store/

    Here is the pic of specifically where the issues are


    Thanks in advance for your assistance.

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Alignment and size of tile_back.gif

    tile_back gif is 30px high. and Zencart has no way of stretching it, so it looks like it's displaying the image and then starting to repeat it.

    If you want the headers that tall, you'll have to create an image 45px high.

  3. #3
    Join Date
    Nov 2010
    Posts
    52
    Plugin Contributions
    0

    Default Re: Alignment and size of tile_back.gif

    Quote Originally Posted by stevesh View Post
    tile_back gif is 30px high. and Zencart has no way of stretching it, so it looks like it's displaying the image and then starting to repeat it.

    If you want the headers that tall, you'll have to create an image 45px high.
    OOPS!! Ok I had done a test to see the top header part as 45px tall and forgot to put it back....that issue is now fixed....my bad.

    Do the headers for each section not use the tile_back.gif image and therefore be would they not be identical in alignment and size?

    OK if you look closer you will see the following where the "Categories" header is one or two pixels lower than the "Breadcrumbs" bar.


    In this case the "Search" bar appears to be one pixel or so taller than the "Breadcrumb" bar. The top alignment is fine though.



    In this final example; you will see that the Bars for a few different sections are of different height. EG: the "Languages" and "Who's Online" bars are not as tall as the "Currencies" or the "Search" bar (despite the fact that they all use the same graphic).

    Once again how do I make everything line up perfectly and have ALL of the bars be an identical height.

  4. #4
    Join Date
    Nov 2010
    Posts
    52
    Plugin Contributions
    0

    Default Re: Alignment and size of tile_back.gif

    Bump...

  5. #5
    Join Date
    Nov 2010
    Posts
    52
    Plugin Contributions
    0

    Default Re: Alignment and size of tile_back.gif

    Re-Bump

  6. #6
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Alignment and size of tile_back.gif

    OK if you look closer you will see the following where the "Categories" header is one or two pixels lower than the "Breadcrumbs" bar.
    you could add to your stylesheet:
    #navColumnOneWrapper, #navColumnTwoWrapper
    {margin-top:2px;}

    hope this helps!

  7. #7
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Alignment and size of tile_back.gif

    disregard other post - it will conflict

  8. #8
    Join Date
    Nov 2010
    Posts
    52
    Plugin Contributions
    0

    Default Re: Alignment and size of tile_back.gif

    I guess I have completely stumped some of you...lol.

  9. #9
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Alignment and size of tile_back.gif

    Those kinds of tiny alignment issues aren't usually that difficult to fix.

    Install the Firefox browser and the Web Developer plugin for Firefox. You can use those to see where in the stylesheet you change the styling of the various page elements.

    Ctrl-Shift-Y will allow you to hover over a section of the page and see the class and id names for that section in the box at the top. The statements in the stylesheet that begin with # are id's and the ones that begin with dots are classes.

    Ctrl-Shift-E will open the CSS editor and allow you to edit the stylesheet and see the changes in real time without changing anything permanently. An essential tool.

    Some prefer Firebug, which does much the same thing.

    You can also look at the source code of the page. In this case, you'll notice that the sidebox headers for the Currencies and Search boxes are inside <label> tags (I don't know why), so would be styled in different rules.

  10. #10
    Join Date
    Nov 2010
    Posts
    52
    Plugin Contributions
    0

    Default Re: Alignment and size of tile_back.gif

    Quote Originally Posted by stevesh View Post
    Those kinds of tiny alignment issues aren't usually that difficult to fix.

    Install the Firefox browser and the Web Developer plugin for Firefox. You can use those to see where in the stylesheet you change the styling of the various page elements.

    Ctrl-Shift-Y will allow you to hover over a section of the page and see the class and id names for that section in the box at the top. The statements in the stylesheet that begin with # are id's and the ones that begin with dots are classes.

    Ctrl-Shift-E will open the CSS editor and allow you to edit the stylesheet and see the changes in real time without changing anything permanently. An essential tool.

    Some prefer Firebug, which does much the same thing.

    You can also look at the source code of the page. In this case, you'll notice that the sidebox headers for the Currencies and Search boxes are inside <label> tags (I don't know why), so would be styled in different rules.
    I actually do have Firefox and I also use the Web Developer plugin but never thought to use it for this purpose...I'll give it a try :)

    Are the "Label" tages not suposed to be used? Why would they be used on some of the bars and not on others?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. That tile_back.gif!
    By CultureClick in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 10 Jun 2012, 03:01 PM
  2. tile_back.gif
    By blue-grape in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 6 Mar 2010, 08:44 AM
  3. white gap between header and tile_back.gif
    By abs007 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 May 2009, 12:32 AM
  4. 2 Questions: tile_back and header size...
    By StarGrape in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 5 Mar 2009, 12:44 AM
  5. tile_back.gif
    By sammybotz in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 30 Mar 2007, 07:38 AM

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