Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. zackat

    Centering in browsers

    Hi Vragabond, Sorry about that. I tried it before but it did not work out, I still had 2px space. Then I tried it again, wrapping a div around the "wrap" div, and it looks pretty ok to me. This is what I added in the css: body { text-align:center; font-size:0; } I think this will for me. Thanks!!
  2. zackat

    Centering in browsers

    Hi James, ..ok, the quote, I know... but, I added some div's :-) in the html: <body> <div id="wrap"> <div id="header"> <div id="topborder"></div> </div> </div> </body> ...and adjusted the css div#header width: 100%; border:1px solid red; } div#topborder { width:100%...
  3. zackat

    Centering in browsers

    Hi James, You are right, I hope it won't be a problem. Adding some lines makes the browser act the same. But still it doesn't make sense, when there is nothing there, it should intepret is as nothing there ... I'll continue greating some div's in this div, and see from there... Thanks Zackat
  4. zackat

    Centering in browsers

    Hi Vragabond, Getting rid of the <xml>, unfortunately doesn't solve the problem. Zackat
  5. zackat

    Centering in browsers

    Hi James, It' not that I want a horizontal line. The thing is that I would like a basic startup position in which the browsers behave a like. This "wrap", is the base of all div's that will go into it. So this should be ok and I don't think there is any need for it to behave a different way in...
  6. zackat

    Centering in browsers

    Hi, For simplicity sake, I thought well...I'll only add the css code. But this is the html, including doctype <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html...
  7. zackat

    Centering in browsers

    Hi, I am trying to figure out what causes IE 6 and Mozilla 1.7.5 to interpret the following differently. I would like to center my page using css. To start from the beginning I am creating a div with nothing in it, centering it and adding a border. I would expect both browser to "behave"...
  8. zackat

    Body tag and margins

    Hi, I am trying to figure out what causes IE 6 and Mozilla 1.7.5 to interpret the following differently. I would like to center my page using css. To start from the beginning I am creating a div with nothing in it, centering it and adding a border. I would expect both browser to "behave"...

Part and Inventory Search

Back
Top