Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 10-26-2002, 05:31 AM   #1 (permalink)
Hrqls
Regular Contributor
 
Join Date: May 2002
Location: Alkmaar, the Netherlands
Posts: 167
Hrqls is on a distinguished road
Question showing images in different resolutions

i want to show 6 pictures on specific locations on a html page
right now i divide the page using frames, this works fine for me, but when i view the page on a different resolution then some scrollbars appear for some frames.

whats the best way to do this ?
i read something about tables ? how would the syntax/coding for that be ?
__________________
The specialty of the house? thats me (cheap as always)
Hrqls is offline   Reply With Quote
Old 10-26-2002, 06:55 AM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,487
sde is on a distinguished road
where exactly on the page do you want the pictures displayed? and how many per row?

let me know and i'll go ahead and show you. =)

table syntax is as follows:
Code:
<table border=0 cellspacing=0 cellpadding=>
<tr> <!-- First Row -->
  <td>first cell</td>
  <td>second cell to the right of the last cell</td>
  <td>third cell</td>
</tr>
<tr> <!-- Second row from the top -->
  <td>cell below first cell</td>
  <td>cell below second cell</td>
  <td>cell below third cell</td>
</tr>
</table>
that code would make six cells. 2 rows of three. there are many things you can do to position everything exactly where you want, but i don't know where you want them.
sde is offline   Reply With Quote
Old 10-27-2002, 10:59 AM   #3 (permalink)
Hrqls
Regular Contributor
 
Join Date: May 2002
Location: Alkmaar, the Netherlands
Posts: 167
Hrqls is on a distinguished road
sorry for asking too soon
i was a little in a hurry i thought ... but then i tried a bit and it was really easy

i have 1 problem now though ... i will explain my page first

the table covers the whole page and is divided as follows
Code:
_______________
|             |
|_____________|
|      |      |
|______|______|
|             |
|_____________|
in the top row there will be 1 picture centered
in the 2nd row there will be 1 picture in each cell
in the 3rd (bottom) row there will be 3 or 4 smaller pictures, i think i will keep them in 1 cell

the table is showing fine .. using colspan=2 for the first and third row

but! in the second row i want to show 2 pictures which are rather large .... how can i make sure that the pictures are exactly 1 cell (50% of the screenwidth) ? (i want to use % because the page can be viewed on different resolutions (for sure on 800x600 and 1152x864)

so the table is showing nice .. i can make the pictures look perfect on my machine (1152x864) but on my other computer the pictures in the second row make a scrollbar appear on the bottom of the page .. i dont like scrollbars
__________________
The specialty of the house? thats me (cheap as always)
Hrqls is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On


Similar Threads
Thread Thread Starter Forum Replies Last Post
What a new article looks like with images .. sde Lounge 0 10-27-2004 04:37 PM
Possible to prevent images in a page from caching? Epsilon HTML, XML, Javascript, AJAX 2 09-06-2004 01:58 AM
New images reaffirm planet is lord of rings redhead Code Newbie News 0 07-05-2004 12:56 AM
html background resolutions do_guh_new HTML, XML, Javascript, AJAX 7 05-19-2003 11:29 AM


All times are GMT -8. The time now is 04:40 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting