Forum Statistics

  • Forum Members: 4,246
  • Total Threads: 3,572
  • Total Posts: 4
There are 1 users currently browsing forums.

Partner Sites

Reply
Old 07-09-2008, 04:31 AM   #1 (permalink)
 
Status: On a mission
Join Date: Jul 2008
Posts: 40

Rep Power: 19 CPhil is on a distinguished road



Default Where should I put my images?

When creating a web page should I add my images in HTML or in the CSS file?

Are there reasons for using both and which is more semantic?
CPhil is offline Add Infraction for CPhil   Reply With Quote
Old 07-09-2008, 04:37 AM   #2 (permalink)
Sarahlee
 
Status: Guest
Posts: n/a



Default

Thats a pretty good question. You can try both and see works for you. Also make sure to test it in all browsers that you may have because I've done one thing in Firefox and it not show correctly in Internet Explorer, esp. with images.
  Edit/Delete Message Reply With Quote
Old 07-09-2008, 08:38 AM   #3 (permalink)
 
Status: On a mission
Join Date: Jul 2008
Posts: 40

Rep Power: 19 CPhil is on a distinguished road



Default

I used to add them in the html but have started trying to add them in the css. 1 part I seem to be missing out on is that I can no longer add alt attributes to images that are in the css.

Is there a way round this?
CPhil is offline Add Infraction for CPhil   Reply With Quote
Old 07-09-2008, 09:46 AM   #4 (permalink)
Sarahlee
 
Status: Guest
Posts: n/a



Default

I'm not sure. Have you tried researching it on W3Schools?
  Edit/Delete Message Reply With Quote


Reply

Bookmarks

Tags
None


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may post new threads
You may post replies
You may post attachments
You may 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


Search Engine Optimization by vBSEO 3.5.0 RC2