| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Comments:
<0> text-align only centers left and right <0> but not up and down <1> IE creates a lot of gap between the paragraphs <2> Maticode, no it's not the same thing at all <2> Maticode: w3schools tutorials teach many bad practices <2> Maticode: whereas w3.org is the website of the W3C <2> the organization that writes most of the standards for the web <2> e.g http://www.w3.org/TR/html401/ <2> http://www.w3.org/TR/REC-CSS1 <2> and http://www.w3.org/TR/REC-CSS2/ <2> the only authorative sources on HTML4.01, CSS1 and CSS2 <2> vertical centering is tricky, especially in IE <0> ok i'll read that, thanks <2> `vertical <2> `center <3> center: http://dorward.me.uk/www/centre/
<0> i tried that, didn't work out <2> guys, what is the key to the bot's links to vertical centering <2> `vertical centering <4> er... you just did it. <4> oh <4> just similar link <0> `vertical-center <4> `dead center <4> `deadcenter <3> deadcenter: http://reisio.com/examples/deadcenter/ <5> hello <5> why cant i get my text to be shown at the top in IE www.hih.nu/php/mall.php <0> thanks <2> Flannel: that's not quite the same thing <2> that's absolute centering within the viewport <4> isn't that what he wants? <2> no - vertical centering in a div <4> that method should work regardless, make the div the bounding box <2> the same technique might work if you set position: relative on the div though <0> in that dead center example, which of the half of the width and half of the margin corresponds to which <0> half of the height in the margin section* <2> margin: top right bottom left <2> clockwise in other words <2> `css margin <3> css margin: http://w3.org/TR/CSS21/box.html#propdef-margin <0> right i know that so which corresponds to width and height <2> eh? <2> i don't understand your question then <2> left/right => width <2> top/bottom => height <5> anybody knows the awnser to my question ? <0> piece of crap vertical align doesn't work <2> rasu: fix your markup first <4> Maticode: vertical align does work, it doesn't do what you think it does <2> Maticode: it only works on table cells <0> i am in a div <2> or other things that are set to behave as table cells <4> no, it works on inline elments <0> and my div has a <img> <0> inside of it <5> webben1: what fix my markup ? <0> i want the img to be cented inside of the div <2> !v http://www.hih.nu/php/mall.php <3> HTML: Valid - http://validator.w3.org/check?uri=http://www.hih.nu/php/mall.php <0> horizontal and vertical <3> CSS: Valid - Warnings: 8, http://jigsaw.w3.org/css-validator/validator?uri=http://www.hih.nu/php/mall.php <2> oh sorry <2> your markup does validate <4> Maticode: position the div relative, position the image absolutely. top: 50%; left: 50%; margin-left: [-1/2 your image width]; margin-top: [-1/2 your image height]; <5> :) <5> i have get that awners that i should fix the mark up and i have done it all yesterday but now it validates but it still dosent work <6> anyone got that "IE on Linux" link handy? <4> google ies4lin <6> thanks <2> rasu: what exactly is the problem - do you mean you want the green bar with Hand i Hand at the top of the viewport? <0> thanks flannel <0> i'll try that <1> * html #outer{ <5> ope you se the text "Kontakt" that should be right under the banner at top with the text "Hand i Hand av svenska scoutfrbundet ... <1> what is that? <1> I don't understand the *
<4> derek[]: * means 'anything' <1> hm <1> isn't html including everything? :) <4> derek[]: so, like * { border: 1px solid black; } would put a border around every element <4> yes. <1> ohh <1> I see <4> * html means an html with something above it in the DOM <4> IE incorrectly thinks there is something there <5> webben1: do you understand the problem ? <2> rasu: it would seem it's too wide <2> 'Denna sida ses bst i 1024x768 med Internet Explorer med textstorlek instlld p "Mellan". <2> ' looks suspiciously 1999 <7> webben1: indeed <5> ?? <2> rasu: it says that site looks best in IE at 1024x768 doesn't it? <7> yes <5> yes but that text is old <5> i shall change it <5> i have change the width if the text but its stioll on the bottom <2> rasu: good grief <2> what is this "<span id="content_head">" <0> still not centered <0> gives weird results, too far right and down <4> Maticode: have a link? <0> no <0> img { position: absolutely; top: 50%; left: 50%; margin-left: <%=m_one%>px; margin-top: <%=m_two%>px; } <0> and the div has position: reltiave; <4> absolute; not absolutely <5> it shall be the pages content header <4> relative <0> lmao! <5> sop i want that to be abit bove the rest of the text <2> rasu: http://www.w3.org/TR/html4/struct/global.html#h-7.5.5 <8> huh dynamic values inside CSS properties ?? first time i see this <4> Maticode: and, make sure the margins are negative. <0> oh you didn't say that <4> LongBeach: probably dynamic css page, output by jsp, it looks like <4> Maticode: I did ;) <0> ahh there it is <2> rasu: also i'd put the header inside a div with the content <0> nice and centered <0> thanks dude <0> goodnight <2> if you want to move them around together <0> oh yes, you did <5> i know but i would not chnge the text on that header i want it to lokk like the rest of the text and then i just wants to put it up a bit <2> rasu: sorry, what has what it looks like got to do with 1) using the right markup or 2) putting it in a div with the rest of the content? <2> (you can still have the content itself in a div within that div if you like) <5> ok i shall try that <2> why doesn't your left banner/menu thing appear in non-rubbish browsers? <2> like opera and firefox? <2> oh i see you've managed to hide it accidentally with css <0> how do i scale my img using css <0> to 50% smaller <7> give it half the width <2> rasu: margin:0 0 0 -548px; makes #left <0> nm <0> i figured it out <2> invisible in browsers that follow the standards better <5> i need to go but thanks webben1 for the help i be back and ask questions in like 2 h <2> k <1> Flannel, thanks <1> div>p {margin:0} <1> what does this do? <9> derek[]: http://www.w3.org/TR/CSS21/selector.html#q1 <1> Thanks <1> I'm not able to get some margin from the end of the content <1> the content is sticking with the bottom of the window <10> hi <10> *think* <10> where can i find some css tabs? <11> hello <10> or at least a way to ceate a link list:
Return to
#css or Go to some related
logs:
qosmio conexant 5b7a linux #math #lisp function snd_ctl_open failed for default Permission denied two identical usb disks #fedora cannot allocate resouce region 4 pci ip_nat_ftp work 2.6.15 sql 2000 select count(*) select column #javascript
|
|