I think you will find it isn;t the PC that's the problem but the browser.
style.style works in some browsers (not sure which) but you will get a universal result by putting a space in; e.g. style .style
that also allows you to nest them more deeply, e.g. style .style .style
I think I am correct on this
::] krycek [::
__________________ ithium | SOAPI | SDP | PTPScript manual "ithium is a non-profit webhost, which is pretty much unique. The mission of ithium is to provide free hosting resources for worthwhile and needy non-profit projects, which otherwise may not be able to obtain such facilities. The money from commercial customers goes to maintain ithium's servers and further development."
I am not sure if it because you are using a number only, because I am pretty sure that valid names should start with a letter.
Also, I am not convinced that styling the <b> tag is a good idea... try styling divs or spans instead (there is nothing wrong in theory as far as I know but it just seems odd to me lol)
but the method itself is sound
::] krycek [::
__________________ ithium | SOAPI | SDP | PTPScript manual "ithium is a non-profit webhost, which is pretty much unique. The mission of ithium is to provide free hosting resources for worthwhile and needy non-profit projects, which otherwise may not be able to obtain such facilities. The money from commercial customers goes to maintain ithium's servers and further development."
So true, it might be because of the number. I'll try that, but can only confirm with macs later on tonight.
btw, the space thing still doesn't work. The problem with divs is that I heard I can only use it for a unique location per page, and I want to avoid that, as I might want to use the different options wherever I need to. Never used span either.
Eh? Could you eleborate on that? I tried a test layout recently and used both divs and spans all over the place, liberally using several different classes without a hitch. I you mean that a div element by default behaves as a block element so you can't have more then one horizontally, consider positioning or, simpler, set display: inline, or use span elements which behave by default as inline elements. Then again, maybe i'm barking up the wrong tree here.
eh, would you believe it, there was no problem at all with the difference between the macintosh and pc versions except for the fact that the macintosh is less forgiving. In the css file, I by mistake wrote:
line-height: 11ph
Needless to say, it gave me a HUGE gap and which prompted me to ask this question as I somehow kept missing that.
As for your question ronaldb66, I was going through the w3schools.com website figuring out the restrictions and such that, and since I was going through exam week and lack of sleep etc. I read everything in a lopsided way. Sorry for the confusion.
But you can reference the tutorial from their site.