Jump to content

adding images

Whether you're a seasoned veteran or a struggling beginner, Web Radiance is the web development and web design forum for you. You'll find answers to all your HTML, CSS, SEO, and Programming needs. Pull up a chair and stay awhile.

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

adding images Rate Topic: -----

#1 User is offline   ultra99 

  • W.R. Corporal
  • Group: Members
  • Posts: 95
  • Joined: 02-February 07

Posted 17 February 2007 - 10:58 AM

I use dreamweaver and I can just drag the image onto the html page. But is that best way? and how can i play around with positioning, it seems strict.
0

#2 User is offline   TJSingleton 

  • Allegedly Legendary
  • Group: Members
  • Posts: 517
  • Joined: 31-July 06
  • Location:Winder, GA

Posted 17 February 2007 - 11:22 AM

I've only used code view
0

#3 User is offline   marcamos 

  • W.R. General
  • Group: Administrators
  • Posts: 2,849
  • Joined: 04-April 06
  • Gender:Male
  • Location:Massachusetts - USA

Posted 17 February 2007 - 11:32 AM

Yeah, I also just type it in manually, in Code View, like so:
<img src="../path/to/image.jpg" alt="Text that is descriptive of the image" />


As far as positioning it, you use CSS to apply style and position values to it. You can do this by adding an ID to the image code above, such as:
<img src="../path/to/image.jpg" alt="Text that is descriptive of the image" id="specialImg" />


Then, write CSS along the lines of:
img#specialImg {
	float: left;
	margin-right: 1em;
}


etc.
0

#4 User is offline   ultra99 

  • W.R. Corporal
  • Group: Members
  • Posts: 95
  • Joined: 02-February 07

Posted 17 February 2007 - 02:15 PM

This is pretty messed up. :P
med plants

This post has been edited by ultra99: 17 February 2007 - 04:34 PM

0

#5 User is offline   marcamos 

  • W.R. General
  • Group: Administrators
  • Posts: 2,849
  • Joined: 04-April 06
  • Gender:Male
  • Location:Massachusetts - USA

Posted 17 February 2007 - 03:03 PM

Agreed ;), you should utilize the float property in the css, like I mentioned above.
0

#6 User is offline   ultra99 

  • W.R. Corporal
  • Group: Members
  • Posts: 95
  • Joined: 02-February 07

Posted 17 February 2007 - 04:32 PM

WTH!?!? It seems that there's nothing much I can do, floating is only left or right, which is not of a great help atm!
0

#7 User is offline   marcamos 

  • W.R. General
  • Group: Administrators
  • Posts: 2,849
  • Joined: 04-April 06
  • Gender:Male
  • Location:Massachusetts - USA

Posted 17 February 2007 - 04:34 PM

If you float an image left, or right, it enables the nearby text to come up next to it, providing a more natural appearance.
0

#8 User is offline   ultra99 

  • W.R. Corporal
  • Group: Members
  • Posts: 95
  • Joined: 02-February 07

Posted 17 February 2007 - 04:56 PM

Updated.

Should I have the images smaller or something?
0

#9 User is offline   marcamos 

  • W.R. General
  • Group: Administrators
  • Posts: 2,849
  • Joined: 04-April 06
  • Gender:Male
  • Location:Massachusetts - USA

Posted 18 February 2007 - 01:30 AM

View Postultra99, on Feb 17 2007, 04:56 PM, said:

Updated.

Should I have the images smaller or something?

Yeah, definitely. It appears that your large images are large enough to not be well covered by text. I would certainly make them either smaller, or thumbnail which link to their larger versions.
0

#10 User is offline   ultra99 

  • W.R. Corporal
  • Group: Members
  • Posts: 95
  • Joined: 02-February 07

Posted 18 February 2007 - 05:25 PM

Updated.

I think things are a bit better now, but not perfect. I really didn't think thumbnails where necessary, too much work and a .html file for each image, cropping, blah, blah...wasn't really worth it. But hey, at least a learned something... :P
0

#11 User is offline   benbacardi 

  • Administrator
  • Group: Administrators
  • Posts: 1,140
  • Joined: 06-April 06
  • Gender:Male
  • Location:United Kingdom

Posted 18 February 2007 - 06:03 PM

You have a </h3> missing after "Vanilla Pod (official)"
0

#12 User is offline   ultra99 

  • W.R. Corporal
  • Group: Members
  • Posts: 95
  • Joined: 02-February 07

Posted 19 February 2007 - 01:39 AM

^thanks. and there was another one missing too, but you made notice. :)
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users