BioRUST SiteWide Search
- Biorust Tutorials ONLY
- Biorust Downloads ONLY
- Biorust Forums ONLY
BioRUST Forums
>
Graphics Software & Support
>
HTML / PHP / ASP / JS
CSS Align...
User Name
Remember Me?
Password
Register
Blogs
Blogs
Recent Entries
Best Entries
Best Blogs
Blog List
Search Blogs
Forum Rules
Members List
Search
Today's Posts
Mark Forums Read
LinkBack
Thread Tools
Display Modes
12-19-2003
#
1
(
permalink
)
Young Spartan
Incredible Indelible Etiquette
Join Date: Oct 2003
Location: Hobe Sound, Florida
Posts: 1,751
CSS Align...
I can't use <div align="blah"> in HTML Strict standards, so what is the CSS code that does it?
div {align: blah;}
didn't work, nor did
div {text-align: blah;}
because I need to align tables and images as well.
What is it Digital?
12-20-2003
#
2
(
permalink
)
Nikki
Not Here But I AM.
Join Date: Dec 2003
Location: Long Island, NY
Posts: 107
I don't think there's an equivalent in Strict. I don't see the harm in using something like...
<table class="divcenter"><tr><td>etc.etc.
and then in the CSS put divcenter {vertical-align: middle;}
...but that's not what you're looking for you said. I can't seem to place an equivalent for it.
__________________
12-20-2003
#
3
(
permalink
)
Young Spartan
Incredible Indelible Etiquette
Join Date: Oct 2003
Location: Hobe Sound, Florida
Posts: 1,751
*sigh*
I guess I'll go against strict and just be unvalid...
12-20-2003
#
4
(
permalink
)
Nikki
Not Here But I AM.
Join Date: Dec 2003
Location: Long Island, NY
Posts: 107
It's not a matter of being
invalid
, it's a matter of who will be able to view your site correctly and who won't. Strict and Loose HTML determine that.
__________________
12-20-2003
#
5
(
permalink
)
Young Spartan
Incredible Indelible Etiquette
Join Date: Oct 2003
Location: Hobe Sound, Florida
Posts: 1,751
I know..
I'm just meaning go invalid against strict.
12-21-2003
#
6
(
permalink
)
Order
Local Biorust Beast
Join Date: Oct 2003
Location: San Diego, CA, USA
Posts: 2,253
<div align="center">
<table>etc...
</div>
That is only what comes to mind.. and it is better then css, as it supported by all browsers.. and I thought it was HTML Strict... hmm
__________________
PHP Manual
-
PHP Tutorials
-
Design Resources
12-21-2003
#
7
(
permalink
)
Young Spartan
Incredible Indelible Etiquette
Join Date: Oct 2003
Location: Hobe Sound, Florida
Posts: 1,751
The align attribute is not allowed in Strict, the div tag is, though.
12-21-2003
#
8
(
permalink
)
Nikki
Not Here But I AM.
Join Date: Dec 2003
Location: Long Island, NY
Posts: 107
can't you set it as a class?
__________________
12-21-2003
#
9
(
permalink
)
Young Spartan
Incredible Indelible Etiquette
Join Date: Oct 2003
Location: Hobe Sound, Florida
Posts: 1,751
....example?
12-21-2003
#
10
(
permalink
)
Nikki
Not Here But I AM.
Join Date: Dec 2003
Location: Long Island, NY
Posts: 107
<div class="divcenter"><table><tr><td>etc.etc.
and in the CSS put divcenter and then set it to center.
__________________
12-21-2003
#
11
(
permalink
)
Young Spartan
Incredible Indelible Etiquette
Join Date: Oct 2003
Location: Hobe Sound, Florida
Posts: 1,751
Quote:
Originally posted by Nikki
<div class="divcenter"><table><tr><td>etc.etc.
and in the CSS put divcenter and then set it to center.
Show me the CSS... thats what I don't know, the CSS code to center align tables, iimages and text.
12-23-2003
#
12
(
permalink
)
Order
Local Biorust Beast
Join Date: Oct 2003
Location: San Diego, CA, USA
Posts: 2,253
(Have some time)
Ok, he means to make a css class:
PHP Code:
.
divcenter
{
align
:
center
;}
and then just assign it, it may not be 100% strict, but most sites are not anyhow.
__________________
PHP Manual
-
PHP Tutorials
-
Design Resources
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
On
Pingbacks
are
On
Refbacks
are
On
Forum Jump
User Control Panel
PM's
Subscriptions
Who's Online
Search Forums
Forums Home
General Community Forums
Announcements
BioRUST Specific Threads
Tutorial Submission
General Discussions
Introductions
Battles System Discussion
Showrooms & Works In Progress
The Marketplace
Graphics Software & Support
3D Modelling
Blender 3D
Cinema 4D
Adobe Photoshop
Flash & Dynamic Media
HTML / PHP / ASP / JS
Illustration, Sketching & Vector Art
Photography & Photo Manipulation
All times are GMT +1. The time now is
05:13 AM
.
Content Relevant URLs by
vBSEO
3.2.0
Contact Us
-
BioRUST.com
-
Archive
-
Privacy Statement
-
Top
Design & Content © BioRUST 2008 ::
PRIVACY STATEMENT
::
LEGAL INFORMATION
::
ADVERTISING MEDIA KIT