New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

Abbreviating dates with CSS


Post Reply New Thread Subscribe

 
Thread Tools
rsherid

 
Member Since: Sep 06, 2008
Posts: 783
rsherid is infamous around these parts
Mac Specs: 13" MBP - 2.7 Ghz, Intel Core i7, 8GB RAM.

rsherid is offline
Is there a way to abbreviate any of these tags with CSS or even HTML?

{DayOfWeek} {Month} {DayOfMonth}
QUOTE Thanks
deer dance

 
deer dance's Avatar
 
Member Since: Jan 23, 2009
Location: Indiana
Posts: 162
deer dance has a little shameless behaviour in the past
Mac Specs: Soon to own

deer dance is offline
Not that I know of, but would it really be that difficult to type the out?


Proud Python Programmer/HTML Expert
Believer in Mac OS 7
QUOTE Thanks
rsherid

 
Member Since: Sep 06, 2008
Posts: 783
rsherid is infamous around these parts
Mac Specs: 13" MBP - 2.7 Ghz, Intel Core i7, 8GB RAM.

rsherid is offline
Quote:
Originally Posted by deer dance View Post
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.
QUOTE Thanks
rsherid

 
Member Since: Sep 06, 2008
Posts: 783
rsherid is infamous around these parts
Mac Specs: 13" MBP - 2.7 Ghz, Intel Core i7, 8GB RAM.

rsherid is offline
Also, what's a good way to test a design across different platforms/browsers?
QUOTE Thanks
Lewwy

 
Lewwy's Avatar
 
Member Since: May 21, 2007
Posts: 198
Lewwy is on a distinguished road
Mac Specs: 15" Macbook Pro, 2.16gz, 2gb RAM || 20" iMac, 2.4gz, 2gb RAM

Lewwy is offline
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.
QUOTE Thanks
deer dance

 
deer dance's Avatar
 
Member Since: Jan 23, 2009
Location: Indiana
Posts: 162
deer dance has a little shameless behaviour in the past
Mac Specs: Soon to own

deer dance is offline
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.


Proud Python Programmer/HTML Expert
Believer in Mac OS 7
QUOTE Thanks
rsherid

 
Member Since: Sep 06, 2008
Posts: 783
rsherid is infamous around these parts
Mac Specs: 13" MBP - 2.7 Ghz, Intel Core i7, 8GB RAM.

rsherid is offline
Quote:
Originally Posted by deer dance View Post
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...

QUOTE Thanks
deer dance

 
deer dance's Avatar
 
Member Since: Jan 23, 2009
Location: Indiana
Posts: 162
deer dance has a little shameless behaviour in the past
Mac Specs: Soon to own

deer dance is offline
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.


Proud Python Programmer/HTML Expert
Believer in Mac OS 7
QUOTE Thanks
rsherid

 
Member Since: Sep 06, 2008
Posts: 783
rsherid is infamous around these parts
Mac Specs: 13" MBP - 2.7 Ghz, Intel Core i7, 8GB RAM.

rsherid is offline
Quote:
Originally Posted by deer dance View Post
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? ...

QUOTE Thanks
deer dance

 
deer dance's Avatar
 
Member Since: Jan 23, 2009
Location: Indiana
Posts: 162
deer dance has a little shameless behaviour in the past
Mac Specs: Soon to own

deer dance is offline
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


Proud Python Programmer/HTML Expert
Believer in Mac OS 7
QUOTE Thanks
rsherid

 
Member Since: Sep 06, 2008
Posts: 783
rsherid is infamous around these parts
Mac Specs: 13" MBP - 2.7 Ghz, Intel Core i7, 8GB RAM.

rsherid is offline
Quote:
Originally Posted by deer dance View Post
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.
QUOTE Thanks

Post Reply New Thread Subscribe


« iWeb upgrade 08 to 09 | A simple JavaScript calculator »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Good CSS Book/Resource MrChris Web Design and Hosting 13 01-03-2008 01:12 PM
Can someone help me with CSS? vicariousgeorge Web Design and Hosting 6 10-17-2007 09:40 PM
trouble with CSS and Dreamweaver hippy.green Web Design and Hosting 2 06-18-2007 06:56 AM
My first tableless CSS layout ChicoWeb Web Design and Hosting 17 01-18-2005 03:57 PM
CSS strangeness in Safari only!? stevenjohn Web Design and Hosting 1 03-29-2004 08:08 AM

All times are GMT -4. The time now is 08:51 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?