Closed Thread Icon

Preserved Topic: Loosing my aligns (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=20464" title="Pages that link to Preserved Topic: Loosing my aligns (Page 1 of 1)" rel="nofollow" >Preserved Topic: Loosing my aligns <span class="small">(Page 1 of 1)</span>\

 
warjournal
Maniac (V) Mad Scientist

From:
Insane since: Aug 2000

posted posted 03-10-2002 22:06

This is driving me bonkers.

I'm cleaning up a site and making the order form secure. Fine. So I clean a page and write my own template. Then, is a seperate doc, I build the form so it looks good. Good. Toss into my template and the aligns in the table don't work. What's up with that?

I've tried different DTDs and no DTD. I've validated for properly nested tags. I've tried a few other things and nothing seems to get my aligns to work.

This is what the form should look like when I toss it into my template. See that? All nice and aligned the way I want to be aligned. I turned the border on for visual clarification. This is what it looks like when I wrap *any* kind shell around it.

I'll keep looking. If anybody has a clue, let me know.

edit: I figured it out. I had a tidbit in the CSS that was over-riding the aligns in the TD tags. That little tidbit being:
td {text-align:left}

Let that be a lesson to you.



[This message has been edited by warjournal (edited 03-10-2002).]

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 03-11-2002 00:59

OK, at a guess, I'd say that this style sheet declaration...

td{
text-align: left;font-family:sans-serif;font-size:10pt;
}

...is over-riding the "align=right" you're putting into the <td> tag. Try altering the TD declaration, or make a *new* td.className declaration with align:right; instead, and then just give those right aligned cells that class instead of speccing the align there.

Your pal, -doc-

warjournal
Maniac (V) Mad Scientist

From:
Insane since: Aug 2000

posted posted 03-11-2002 04:05

Yeah, Doc, that's what it was. The {text-align: left;} was a remnant from the template that I was building. I had to toss that in for some silly reason, then I forgot to take it out.

Looks like you made your post as I was editing my post. Or maybe you didn't notice my edit. Either way, problem identified and solved.


DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 03-11-2002 18:30

Ah, I knew you would spot that one. Still, one of the things I love about this little forum is that you get to come in and see a question or two that you know you can answer quickly and easy. When my head is twirling, I cherish these moments!


Your pal, -doc-

warjournal
Maniac (V) Mad Scientist

From:
Insane since: Aug 2000

posted posted 03-13-2002 04:45

I forget about coming here and asking questions. I'm just so used to fixing things on my own. I'm working on changing that habit a bit.

That aside --

I'M GONNA KILL MY CUSTOMERS!!

I could handle the first volley of bullshit they slung my way, but now I'm getting buried in it. When you want certain things, point-n-click just doesn't cut it. Piss-poor, ill informed decisions from the very beginning. Now I'm stuck cleaning up *tons* of messes on so many fronts. All the while trying to keep things easy for them (because they are point-n-clickers), but some things just aren't that easy.

I could go on and on about their crimes against humanity. It's a travesty.

Ahh!

For the first time in 6 years, I want to smoke a doobie.


PunisherOlsen
Bipolar (III) Inmate

From: We discovered Greenland.
Insane since: Oct 2001

posted posted 03-16-2002 03:50

doobie? wead smokie? ...

warjournal
Maniac (V) Mad Scientist

From:
Insane since: Aug 2000

posted posted 03-18-2002 01:28

You got it, Punisher.

I remember the last time I took a whack. I had to quit playing Descent a few minutes later. Man, talk about years ago.

« BackwardsOnwards »

Show Forum Drop Down Menu