Wrox Programmer Forums
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 9th, 2004, 12:49 PM
Registered User
 
Join Date: Nov 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Table trouble

www.knalle.dk/GANT

Im making a site for an artist - its not finished at all - but I have one problem... the scrolling image gallery to the right..

It loads the images allover when you visit another part or the site.
Right now its an Iframe that links to the external scrolling html ... maybe theres a better way?

I dont want the site to load images everytime you click around on the pages. Also I hope frames aren't the soloution.

TIA :)

 
Old November 9th, 2004, 01:50 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

I think that for what you try to do you should have it the other way around. Load the content in an iframe. As it is now, the "gallery page" is loaded fresh each time you go to a new page.

That would be sad though since you would basically end up with a horrible framed site.

Sorry, can't think of a way to accomplish what you want to do without it getting ugly.

(o<
//\ =^..^=
 
Old November 9th, 2004, 08:14 PM
Registered User
 
Join Date: Nov 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

also how do I make a thin black border around the page...?

every time i try something it applies to all the cells meaning borders everywhere. I just want one around the page.

 
Old November 9th, 2004, 09:16 PM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 363
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hello,

  Do you want to have a thin border around the table?

You can do with CSS.

<style>
table {
   border-style:solid;border-width:1;border-color:#000000;
}
</style>


--------
Rajani

 
Old November 9th, 2004, 10:10 PM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

border-style:solid;border-width: 1;border-color:#000000;

This isn't valid CSS.

border-style:solid;border-width: 1px;border-color:#000000;

For lengths other than zero a unit of measurement must also be specified. IE incorrectly applies a border if no unit is present, but standards browsers like Firefox and Opera and not so forgiving, and will ignore the declaration all together (which is what the specifications say to do).

This can also be represented with a shorthand, which makes writing the style much easier.

border: 1px solid black;

There are also a variety of other ways of going about it that will provide the same result. :-)

Regards,
Rich

--
[http://www.smilingsouls.net]
Mail_IMAP: A PHP/C-Client/PEAR solution for webmail
Author: Beginning CSS: Cascading Style Sheets For Web Design
 
Old November 10th, 2004, 07:04 PM
Registered User
 
Join Date: Nov 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks everybody...
here's what it looks like atm:

www.knalle.dk/GANT

I'm having trouble with making the autoscrolling gallery to the right working right. Right now there are two scripts that interfere each other - so scrolling up soesn't work right..

So if you have any ideas on how to make the gallery better please help, cos it is rather buggy atm..







Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble with formatting text in table cells! Sickopuppie HTML Code Clinic 5 June 21st, 2006 03:17 AM
Trouble display complete string in table BrendonMelville ASP.NET 1.0 and 1.1 Basics 4 February 27th, 2006 10:58 AM
Trouble getting right data out of a table TwoNames PHP Databases 7 August 26th, 2004 09:47 AM
Trouble with connecting two table with relationshi tycoon Dreamweaver (all versions) 1 December 26th, 2003 07:21 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.