The rules have changed with IE7? Vertical line code

  • 1
  • Question
  • Updated 9 years ago
  • Answered
The vertical line trick brought to our attnetion by Boomer doesn't appear to work in IE7. It does in FF and Chrome.
<!..HR width=1, size=500...>

The code that grace introduced is also a problem with IE7. In this case you get a table border about a 1 cm width.
<!...div style="width;0px;height:500;border:1px solid #D3D3D3;">
Photo of Peter

Peter

  • 2569 Posts
  • 113 Reply Likes
  • disappointed

Posted 10 years ago

  • 1
Photo of Shaq

Shaq

  • 868 Posts
  • 5 Reply Likes
Just to experiment change graces code from 1px to 4px and see if there is a different's
Photo of Peter

Peter

  • 2569 Posts
  • 113 Reply Likes
same Shaq just thicker border line.
Photo of Shaq

Shaq

  • 868 Posts
  • 5 Reply Likes
Is there anymore of the code, can you post it?
Photo of Peter

Peter

  • 2569 Posts
  • 113 Reply Likes
Already did Shaq. See the title of the post.
Photo of uzzer

uzzer

  • 45 Posts
  • 2 Reply Likes
Have you tried it now in IE8?
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
This the code that Emmy gave me for a vertical line. Apparently it works. I can't tell cuz of my dumb ol' computer. It's slightly different than the one that Grace gave you. So.. give it a try! =) Don't forget.. you can always change the width, height and color attributes to work with your site.

<!--
<center><div style="width:1px; height:500px; background-color: white"></div></center>
-->
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Hey guys,
Give this a try to create a vertical line:

<!-- <center><div style="width:2px; height:500px; background-color: black"></div></center> -->

Emmy
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Tee hee Emmy.. I just gave them your code above! Hopefully with the two of us giving the same code.. they won't hesitate to give it a try! =)
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
No doubt littleus, we must have been posting at the same time! lol