
| » Forum Index » Problems and solutions » Topic: Waaaaaaaay off topic! |
|
Posted on 05/04/08 00:46:42 AM |
|
chris berry
Overhead Overlord Posts: 724 Reply |
Re: Waaaaaaaay off topic!
Hi everyone Sorry for the delay in replying - I've just read your posts. I've sorted more or less everything so thanks for all your suggestions. However, here's what I'm stuck with. Here is the page how I want it to look. The next post is a page with a landscape poster, and I can't get it to sit in the centre of the page. Any suggestions? ![]() |
Posted on 05/04/08 00:47:32 AM |
|
chris berry
Overhead Overlord Posts: 724 Reply |
Re: Waaaaaaaay off topic!
And here's the problem page: ![]() |
Posted on 05/04/08 09:23:27 AM |
|
rufus
Destructive Demon Posts: 243 Reply |
Re: Waaaaaaaay off topic!
Hi Chris, I made another page in Dreamweaver using a 3 x 3 table to hold all the elements. Here is the code. <body> <p align="center"> </p> <table width="800" border="0"> <tr> <td> </td> <td><div align="center"><img src="Chris Berry.gif" width="500" height="80" /></div></td> <td> </td> </tr> <tr> <td><div align="left"><img src="backward arrow.gif" width="30" height="30" /></div></td> <td><div align="center"><img src="poster.jpg" width="600" height="900" /></div></td> <td><div align="right"><img src="forward arrow.gif" width="30" height="30" /></div></td> </tr> <tr> <td> </td> <td><div align="center">Client Hebden Bridge Little Theatre</div></td> <td> </td> </tr> </table> <p align="center"> </p> </body> rufus |
Posted on 05/04/08 10:05:26 AM |
|
chris berry
Overhead Overlord Posts: 724 Reply |
Re: Waaaaaaaay off topic!
Thanks Rufus Inserted your code and it's thrown up errors and won't display, and I don't understand html enough yet to fix it. Thanks anyway, though. Much appreciated. |
Posted on 05/04/08 11:13:44 AM |
|
rufus
Destructive Demon Posts: 243 Reply |
Re: Waaaaaaaay off topic!
Hi Chris, To see the html code in Internet Explorer select View/Source, you can copy it from there if you wish. rufus |
Posted on 05/04/08 12:15:16 PM |
|
chris berry
Overhead Overlord Posts: 724 Reply |
Re: Waaaaaaaay off topic!
Cheers Rufus Will try this later. Appreciate the time you've spent! Can't beleive how much help I'm getting from everyone on this. Thanks again. Chris |
Posted on 05/04/08 2:45:34 PM |
|
dave.cox
Marquee Master Posts: 518 Reply |
Re: Waaaaaaaay off topic!
I checked Rufus' code, and it works correctly. Although some developers like to knock tables in favor of CSS, Tables are still sometimes the best way to gain control of the positioning of your content. I tend to use a combination of the two. For your page, this is a good method. Dave |
Posted on 05/04/08 4:31:48 PM |
|
rufus
Destructive Demon Posts: 243 Reply |
Re: Waaaaaaaay off topic!
Hi Chris, I have added a bit of navigation to the sample website to show how it fits into the code. I have also sent you a PM. rufus |
Posted on 05/04/08 5:21:02 PM |
|
chris berry
Overhead Overlord Posts: 724 Reply |
Re: Waaaaaaaay off topic!
As I've mentioned in a PM to Rufus, it's just the landscape poster I've got problems with now. (see above). Any other suggestions welcome. Cheers Chris |
Posted on 06/04/08 9:30:35 PM |
|
Paul 2007 thru 2010
Lego Legend Posts: 361 Reply |
Re: Waaaaaaaay off topic!
I only ever thought CSS was for keeping your styling organised over several pages. I didn't know you could position DIVs with it. I have just been reading up on it now. It's like revelation. One of our sites at work www.wallfillers.com is riddled with tables purely for layout purposes. I didn't design the site but it was me that had to change it from static to database driven and I'm thinking now how much simpler it would have been for me if it used CSS instead of tables. |
Posted on 06/04/08 9:45:46 PM |
|
David Asch
Tech Support Posts: 1913 Reply |
Re: Waaaaaaaay off topic!
Be wary of using purely CSS for layout. There are various inconsistencies between the browsers, whilst it might look great in Safari or Firefox, it can look awful in IE. There are various workarounds which can be found around the net. _________________ It must be Thursday, I never could get the hang of Thursdays |
Posted on 07/04/08 1:43:31 PM |
|
dave.cox
Marquee Master Posts: 518 Reply |
Re: Waaaaaaaay off topic!
That's absolutly correct. When you layout using CSS you have to check Firefox, Safari, and IE. Although I've found that if it works in Firefox, It will probably be ok in Safari. IE is a completly different matter. I have a separete CSS sheet just for IE, that I call when I need to have different statements than those for Firefox. IE is not standards compliant. Trying to develop for it can be a real pain. |
Posted on 07/04/08 1:45:40 PM |
|
dave.cox
Marquee Master Posts: 518 Reply |
Re: Waaaaaaaay off topic!
duplicate |
Posted on 07/04/08 1:47:34 PM |
|
dave.cox
Marquee Master Posts: 518 Reply |
Re: Waaaaaaaay off topic!
duplicate |
Posted on 07/04/08 1:50:01 PM |
|
dave.cox
Marquee Master Posts: 518 Reply |
Re: Waaaaaaaay off topic!
duplicate |
Posted on 07/04/08 1:50:18 PM |
|
dave.cox
Marquee Master Posts: 518 Reply |
Re: Waaaaaaaay off topic!
Sorry about the duplicates. They appeared when my pc locked up. |
Posted on 07/04/08 4:41:23 PM |
|
powerslave
Custom Cobber Posts: 136 Reply |
Re: Waaaaaaaay off topic!
http://www.webmasterforums.com/ Thats a pretty good site for help. Learn your HTML and XHTML if you can because Dreamweaver produces alot of crap. CSS is the way to go whenever possible it can be very powerful |
Posted on 07/04/08 4:56:43 PM |
|
Eggbox
Ovoid Opportunist Posts: 797 Reply |
Re: Waaaaaaaay off topic!
I was interested if not disturbed to read from David and Dave (from whom I have had great support by e-mail) that IE is 'out on its own' and non compliant. Just today I had a friend tell me that my latest CSS menu bars don't work. They're fine leaving me I said but when I checked they were rubbish as he said. Here is what they should look like and, if you have the dreaded IE this is how they turn out. http://www.tedeggs.com/panic1 How do you work around this? Ted |
Posted on 07/04/08 11:11:04 PM |
|
dave.cox
Marquee Master Posts: 518 Reply |
Re: Waaaaaaaay off topic!
Ted, You have a line that says: * html #navigation a { width: 100%;} in your CSS. This is causing you problem in IE. If you want to use different CSS for IE you can do it like this: <LINK REL=STYLESHEET TYPE="text/css" HREF="style.css"> <!--[if IE]> <link href="IE_hacks.css" rel="stylesheet" type="text/css" /> <![endif]--> |
Posted on 07/04/08 11:34:24 PM |
|
Eggbox
Ovoid Opportunist Posts: 797 Reply |
Re: Waaaaaaaay off topic!
Dave, You're a genius!! That's all it was. Line taken out and the Menu Bar is behaving properly. Thank you. What's next? Oh yes, the 'client' wants his google map portrait instead of landscape and to have a marker... Aardvark maps says OK to marker but no resizing; Mapmaker says OK to resize and offers marker but doesn't deliver. Oh what fun. No, honestly, I am enjoying this. Ted |
| page: 1 2 3 4 last |