Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > placing img:s

Reply
Thread Tools

placing img:s

 
 
eneroth3
Guest
Posts: n/a
 
      07-31-2008
I have a problem with images on my site. If you place all images
without a <br> they will fill the row and then next row and so on. The
numbers of pictures on every row depends on the resolution. This is
exactly what I want except one problem. I also want a small
description under every image. I have tryed <div> and stuff but
nothing works. Do someone know how I can solve this problem?



I have one more problem too. The menu frame in my frameset should't
have any margin at except the one in that html it views. I have tryed
this; marginwidth="0" marginheight="0", byt it only works in firefox.
I have tryed ie, opera and safari but thay show the standard margins.
Do anyone know what's wrong?

Eneroth3
 
Reply With Quote
 
 
 
 
Travis Newbury
Guest
Posts: n/a
 
      07-31-2008
On Jul 31, 12:14*pm, eneroth3 <enero...@gmail.com> wrote:
> I have a problem with images on my site..


Since you obviously don't know what's wrong with your code, maybe you
should post the URL here so someone can take a look at it.

--
Travis
Flash Crap: http://travisnewbury.blogspot.com
 
Reply With Quote
 
 
 
 
Jukka K. Korpela
Guest
Posts: n/a
 
      07-31-2008
Scripsit eneroth3:

> I have a problem with images on my site. If you place all images
> without a <br> they will fill the row and then next row and so on. The
> numbers of pictures on every row depends on the resolution.


Fine. There's the issue of spacing between images, but I guess you have
figured it out. Using CSS, it is easy to add some desired horizontal or
vertical spacing.

> This is
> exactly what I want except one problem. I also want a small
> description under every image.


Yes, that changes the picture (no pun intended).

The simple HTML-only way, frowned upon by some, is to use tables, with
one table consisting of an image and the description only, and with
align="left" attribute in <table> tags.

The CSS way is to use some markup (e.g., <div>) for a combination of an
image and the associated description and to set float: left for such
elements.

More info, with examples:
http://www.cs.tut.fi/~jkorpela/www/captions.html

> I have one more problem too. The menu frame in my frameset should't
> have any margin at except the one in that html it views.


Just stop using frames. Frames are evil. Don't do frames, mm'kay?
Problem solved - or at least converted to a reasonable problem.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

 
Reply With Quote
 
dorayme
Guest
Posts: n/a
 
      07-31-2008
In article
<b99e13b6-a782-4188-98c4->,
eneroth3 <> wrote:

> I have a problem with images on my site. If you place all images
> without a <br> they will fill the row and then next row and so on. The
> numbers of pictures on every row depends on the resolution. This is
> exactly what I want except one problem. I also want a small
> description under every image. I have tryed <div> and stuff but
> nothing works. Do someone know how I can solve this problem?
>
>


You might look at this sort of template and adapt to your needs.

<http://tinyurl.com/2jcs5r>

>
> I have one more problem too. The menu frame in my frameset should't
> have any margin at except the one in that html it views. I have tryed
> this; marginwidth="0" marginheight="0", byt it only works in firefox.
> I have tryed ie, opera and safari but thay show the standard margins.
> Do anyone know what's wrong?
>


You would need to post a URL. But if you have something like:

<frameset cols="150,*">

<frame src="navigation.html" name="navigation">
<frame src="content.html" name="content">

</frameset>

make sure you examine the simple margins and paddings in the actual
frames, navigation.html and content.html. Set the side ones to zero if
need be.

If you post a URL, I would be happy to take a look and suggest
something.

(In fact, anything to do with Frames, it would be a pleasure, like
fiddling with a 37 year old car - I am missing my old beast, a Ford XY
and had to sell it recently and am driving a pesky modern thing that
never seems to go wrong, a dangerous thing as this induces sleepy
boredom while driving instead of my former alert nervousness)

--
dorayme
 
Reply With Quote
 
 
 
Reply

Thread Tools

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
placing controls within panel control Joe ASP .Net 1 12-08-2004 09:41 PM
Placing dataset into XPathDocument Keith Chadwick ASP .Net 4 11-24-2003 12:57 PM
placing IDS?? Dong Lee Cisco 2 11-20-2003 08:29 PM
Question: Placing X on a image by clicking on it? VB Programmer ASP .Net 0 08-27-2003 12:00 PM
Error when placing Validators on a DataList Control. Art Kedroski ASP .Net 2 08-01-2003 02:04 PM



Advertisments