Abbreviating dates with CSS

Joined
Sep 6, 2008
Messages
869
Reaction score
0
Points
16
Your Mac's Specs
13" MBP - 2.7 Ghz, Intel Core i7, 8GB RAM.
Is there a way to abbreviate any of these tags with CSS or even HTML?

{DayOfWeek} {Month} {DayOfMonth}
 
Joined
Jan 23, 2009
Messages
162
Reaction score
1
Points
18
Location
Indiana
Your Mac's Specs
Soon to own
Not that I know of, but would it really be that difficult to type the out?
 
OP
R
Joined
Sep 6, 2008
Messages
869
Reaction score
0
Points
16
Your Mac's Specs
13" MBP - 2.7 Ghz, Intel Core i7, 8GB RAM.
Not that I know of, but would it really be that difficult to type the out?

I wish, but I don't have control over the date. It's embedded in the code and just appears whenever I post something.
 
OP
R
Joined
Sep 6, 2008
Messages
869
Reaction score
0
Points
16
Your Mac's Specs
13" MBP - 2.7 Ghz, Intel Core i7, 8GB RAM.
Also, what's a good way to test a design across different platforms/browsers?
 
Joined
May 21, 2007
Messages
198
Reaction score
5
Points
18
Your Mac's Specs
15" Macbook Pro, 2.16gz, 2gb RAM || 20" iMac, 2.4gz, 2gb RAM
I imagine you'll need to dive into the PHP in the template document and change the code. Dont recommend it if you dont know what your doing.. Could break the whole thing just by removing a semicolon :| .

Cheers,
Lew.
 
Joined
Jan 23, 2009
Messages
162
Reaction score
1
Points
18
Location
Indiana
Your Mac's Specs
Soon to own
Don't worry about different platforms, only browsers matter for the Internet.

Download and test your website on the following browsers:

Mozilla Firefox 3
Safari Web Browser 3.1
Internet Explorer 7
Internet Explorer 8 Beta 2
Opera 9.5
Google Chrome

Between them, you'll cover every standard web browser family there is, leaving less than one tenth of a percent blind in the water.
 
OP
R
Joined
Sep 6, 2008
Messages
869
Reaction score
0
Points
16
Your Mac's Specs
13" MBP - 2.7 Ghz, Intel Core i7, 8GB RAM.
Don't worry about different platforms, only browsers matter for the Internet.

Download and test your website on the following browsers:

Mozilla Firefox 3
Safari Web Browser 3.1
Internet Explorer 7
Internet Explorer 8 Beta 2
Opera 9.5
Google Chrome

Between them, you'll cover every standard web browser family there is, leaving less than one tenth of a percent blind in the water.

First CSS problem: OK in IE, messed up in Firefox...

blog2.jpg
 
Joined
Jan 23, 2009
Messages
162
Reaction score
1
Points
18
Location
Indiana
Your Mac's Specs
Soon to own
Internet Explorer and firefox use slightly different syntaxes for HTML and CSS.

Check the W3Schools CSS reference to see what needs to be chnaged for Firefox.
It may still work in Internet Explorer, but if it doesn't, you'll need to make two separate style sheets and use JavaScript to load them respectively.
 
OP
R
Joined
Sep 6, 2008
Messages
869
Reaction score
0
Points
16
Your Mac's Specs
13" MBP - 2.7 Ghz, Intel Core i7, 8GB RAM.
Internet Explorer and firefox use slightly different syntaxes for HTML and CSS.

Check the W3Schools CSS reference to see what needs to be chnaged for Firefox.
It may still work in Internet Explorer, but if it doesn't, you'll need to make two separate style sheets and use JavaScript to load them respectively.

Speaking of CSS, this is me nitpicking, but how come the following isn't alligned? ...

blog3.jpg
 
Joined
Jan 23, 2009
Messages
162
Reaction score
1
Points
18
Location
Indiana
Your Mac's Specs
Soon to own
Again, it's the difference between the builds of the browsers

If it's that important to you, you could simply rebuild the page for Firefox
 
OP
R
Joined
Sep 6, 2008
Messages
869
Reaction score
0
Points
16
Your Mac's Specs
13" MBP - 2.7 Ghz, Intel Core i7, 8GB RAM.
Again, it's the difference between the builds of the browsers

If it's that important to you, you could simply rebuild the page for Firefox

That was actually a screen shot in Safari.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top