View previous topic :: View next topic |
Author |
Message |
bobins Registered User
Joined: 09 May 2002 Location: UK, England Guild: CoN.FuSeD Posts: 1865
|
Posted: Tue Dec 16, 2003 12:33 am Post subject: HTML help... plz... urgent |
|
|
hey ppl im in a lil bit of bother with some html...
now im using tables, and its for a project so it has to all be produced in notepad... no fancy html generators... or crap like that... n im a little stuck... with something i've discovered that i havent seen before...
im using size in % form so as to make my site change to work in different resolutions firstly.
now im placing a picture into a cell of a table. with the code below
Code: | <td>
<img width=25% alt="Holton Road Primary School" src="pictures/010_7A.jpg">
</td> |
the image without the size reduction is huge, and extends the cell so as to need horizontal scrolling to c the second cell.
when i reduce the size with the width=25% the picture is a nice size and jsut what i want. but then i get the problem that the cell of the table doesnt shrink back to just whats needed around the newly re-sized picture, it remains large enough for it to be able to hold the complete picture.
please if anybody konws a way to solve this plz plz plz post it asap.
thanks alot.
TIA _________________
 |
|
Back to top |
|
 |
bobins Registered User
Joined: 09 May 2002 Location: UK, England Guild: CoN.FuSeD Posts: 1865
|
Posted: Tue Dec 16, 2003 12:49 am Post subject: |
|
|
no webmasters on tonight then wiv any sugestions... ... aww damn... i need to sort this.. asap. lol.
n i already emailed my lecturer for advice... html's simple enough just every now n then i ends up runin into somthin that i cant remember how to fix... ... _________________
 |
|
Back to top |
|
 |
Chan Registered User

Joined: 01 Nov 2001 Location: In a pool of cess Posts: 2311
|
Posted: Tue Dec 16, 2003 1:04 am Post subject: |
|
|
create a copy of that image in a thumbnail view, more or less make something that would be about 75 x 75 pxs in size and have it link to the larger image in a new window or something like that.
so the thumbnail would be in the table and the actual image would open in a new window if the thumbnail is clicked. If you need an example, the internet has a bagillion pr0n sites out there using thumbnail views. lol _________________
 |
|
Back to top |
|
 |
bobins Registered User
Joined: 09 May 2002 Location: UK, England Guild: CoN.FuSeD Posts: 1865
|
Posted: Tue Dec 16, 2003 1:15 am Post subject: |
|
|
cheers but thats not the way i was wanting to go about it... thats my fall back option if i dont get this sorted soon. lol. got to be handed in friday. me leaving things a lil late... stupid firewall having its ports unblocked... *hits desk* lol .
because i want the whole site to be fluid... so it can be changed in size... thats why im letting the html resize everythign with % sizes.
o i sure hope i can figure this out of someone can help a lil.
thanks alot for the help though chan much appreiciated. _________________
 |
|
Back to top |
|
 |
SpeCies Registered User

Joined: 05 Sep 2001 Location: North Carolina Guild: <TVB> Posts: 1948
|
Posted: Tue Dec 16, 2003 3:01 am Post subject: |
|
|
Try this,
<TABLE BORDER=5 CELLPADDING=0 CELLSPACING=5>
<TR>
<TD><A HREF="010_7A.jpg"><IMG SRC="pictures/010_7A.jpg"
ALT="[click: Holton Road Primary School]" WIDTH=75 HEIGHT=100 ></A></TD>
<TD>& &<A HREF="010_7A.jpg">Holton Road Primary School</A>& &</TD>
<TD NOBR>& &<I>Cool School & &</I></TD></TR>
<TR>
I've only used "%" Width=25% Height=1 specifying frames  _________________ http://www.nosmacktards.com |
|
Back to top |
|
 |
bobins Registered User
Joined: 09 May 2002 Location: UK, England Guild: CoN.FuSeD Posts: 1865
|
Posted: Tue Dec 16, 2003 12:58 pm Post subject: |
|
|
thanks for ur help. is still using a thumb nail type approach, not a fluid changable size pic dependin on ur res. but it looks like ima have to make do. lol.
cheers anyway. still looks as good.  _________________
 |
|
Back to top |
|
 |
Hamese Server Admin


Joined: 04 Sep 2001 Location: Houston, TX Guild: US-V Posts: 1404
|
Posted: Tue Dec 16, 2003 3:18 pm Post subject: |
|
|
IMO, it would be better accomplished Chan's way. Have the two pictures with one being either cropped or a scaled version of the original. That way the page will load faster. _________________
 |
|
Back to top |
|
 |
Ragnarok Registered User

Joined: 16 Jul 2002 Location: A little place called Royston Vasey Posts: 175
|
Posted: Tue Dec 16, 2003 4:29 pm Post subject: |
|
|
i offered you my help... but u just threw it back in my face
lol _________________
My first self made sig.... Hazaa! |
|
Back to top |
|
 |
|