Dysan Posted June 12, 2008 Share Posted June 12, 2008 Hi, how do I display bullet points exactly the same in the image found at the following URL? I have attempted this (See Image) but every time I change it in FF it messes things up in FF. http://www.freewebs.com/ticstacs/Bullets.bmp Quote Link to comment https://forums.phpfreaks.com/topic/109928-display-bullet-points-the-same-ie-ff/ Share on other sites More sharing options...
rhodesa Posted June 12, 2008 Share Posted June 12, 2008 without any code or side by side comparison of FF and IE, it is pretty much impossible to provide any help to you Quote Link to comment https://forums.phpfreaks.com/topic/109928-display-bullet-points-the-same-ie-ff/#findComment-564112 Share on other sites More sharing options...
Dysan Posted June 12, 2008 Author Share Posted June 12, 2008 Sorry, forgot to add code. Save the following code and the image found at the URL, and place it them both in the same folder. I'm trying to line up the HTML bullet points, with the ones found on the image. Problem is, it messes up on another browsers upon doing this. Why is this? http://www.freewebs.com/ticstacs/Bullets.bmp <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style> body { MARGIN: 18px; PADDING: 0px; } #container { WIDTH: 727px; HEIGHT: 409px; BORDER: 4px solid rgb(0,0,0); BACKGROUND: url(Bullets.bmp) no-repeat; } ul { TOP: 130px; LEFT: 16px; POSITION: relative; FONT-FAMILY: arial; FONT-SIZE: 75%; } </style> </head> <body> <div id="container"> <ul id="bullets"> <li>Bullet Point One</li> <li>Bullet Point Two</li> <li>Bullet Point Three</li> <li>Bullet Point Four</li> </ul> </div> </body> </html> Quote Link to comment https://forums.phpfreaks.com/topic/109928-display-bullet-points-the-same-ie-ff/#findComment-564134 Share on other sites More sharing options...
rhodesa Posted June 12, 2008 Share Posted June 12, 2008 Trying to get it pixel for pixel perfect in every browser is a wasted cause. In messing with it, here is one that is close: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style> body { MARGIN: 18px; PADDING: 0px; } #container { WIDTH: 727px; HEIGHT: 409px; BORDER: 4px solid rgb(0,0,0); BACKGROUND: url(Bullets.bmp) no-repeat; } ul { TOP: 117px !important; LEFT: 18px !important; POSITION: relative; FONT-FAMILY: arial; FONT-SIZE: 9pt; line-height: 13pt; color: red; TOP: 128px; LEFT: 20px; } </style> </head> <body> <div id="container"> <ul id="bullets"> <li>Bullet Point One</li> <li>Bullet Point Two</li> <li>Bullet Point Three</li> <li>Bullet Point Four</li> </ul> </div> </body> </html> Quote Link to comment https://forums.phpfreaks.com/topic/109928-display-bullet-points-the-same-ie-ff/#findComment-564142 Share on other sites More sharing options...
Dysan Posted June 12, 2008 Author Share Posted June 12, 2008 How do I move the bullet points left and up a bit? Quote Link to comment https://forums.phpfreaks.com/topic/109928-display-bullet-points-the-same-ie-ff/#findComment-564184 Share on other sites More sharing options...
rhodesa Posted June 12, 2008 Share Posted June 12, 2008 Modify the values of TOP and LEFT. The first time they show up (with the !important) is for FF, and the second time is for IE Quote Link to comment https://forums.phpfreaks.com/topic/109928-display-bullet-points-the-same-ie-ff/#findComment-564202 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.