Results 1 to 10 of 15

Hybrid View

  1. #1
    Join Date
    Sep 2007
    Posts
    219
    Plugin Contributions
    0

    Default Re: I think this is a CSS problem?

    On the <h1> tag for the front page, you could always include a class:

    <h1 class="whatever">

    then add the spacing to the class, you could then set h1 back to 1em in your css and everything should then line up.

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: I think this is a CSS problem?

    There should be no need to add a class tag in the php. Just combine the h1 with another class/id to make it specific, like

    #indexHome h1 {}

    to apply only to the home page.

  3. #3
    Join Date
    Sep 2007
    Posts
    219
    Plugin Contributions
    0

    Default Re: I think this is a CSS problem?

    Hey that would work as well, the thing is though that would add a 4em padding to every occurence in the home page. I thought I would single out the one which caused the issue so if need be the <h1> tag could be used again.

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: I think this is a CSS problem?

    The h1 tag is only supposed to be used once in a page... and even if it were to be used again, there should be existing tags or other CSS methods to distinguish between them.

 

 

Similar Threads

  1. CSS Problem i think ??
    By gmrm in forum General Questions
    Replies: 3
    Last Post: 11 Jan 2010, 12:58 PM
  2. slight problem with css (i think)
    By humbll in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 26 May 2007, 07:04 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