Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    May 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    IE rendering of block element <a>

    I hope someone can answer my quick question ...

    IE isn't rendering my <a> tag like a normal block element when I set the css for it as display: block.

    Is there any reason why is wouldn't stretch to the full width of my container element like a H1 tag?

    Thanks!

  • #2
    Regular Coder logictrap's Avatar
    Join Date
    Apr 2008
    Posts
    155
    Thanks
    11
    Thanked 3 Times in 3 Posts
    Can you post some code to show what you're doing?

    Which came first - the chicken or the egg? The egg... [ticket closed]
    If a tree falls... does it make a sound? Yes.............. [ticket closed]

  • #3
    Regular Coder
    Join Date
    Apr 2008
    Location
    Manila, Philippines
    Posts
    263
    Thanks
    3
    Thanked 12 Times in 12 Posts
    yeah you better post a code or something...

    <a> tags can be put anywhere.. and there's many possible way of how you used it..

    please post some code so that we can easily help you...


    help me... help you....

  • #4
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,696
    Thanks
    6
    Thanked 1,011 Times in 984 Posts
    Quote Originally Posted by knives_out View Post
    IE isn't rendering my <a> tag like a normal block element when I set the css for it as display: block.
    It should unless you have set something to prevent it from doing that. Put a border around it to see how it behaves. That’s easier to spot.


  •  

    Posting Permissions

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