positioning

This is a discussion on "positioning" within the Web Page Design section. This forum, and the thread "positioning are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jul 11th, 2007, 20:47
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Question positioning

Hello I took the advice to make the page from PHP.
But not sure where to go from here.
and couldn't find a tutorial.
I have the layout, http://www.alexgeek.co.uk//HTML/Testing/PHP/Index.php
now I need the content to go right of the links under the banner and search,
preferably with some sort of border around it.
Is there some way to do this without DIVs?
I hate them... they move about where they want.
advice for everything still wanted.
Thanks!
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote

  #2 (permalink)  
Old Jul 11th, 2007, 21:19
sannbe's Avatar
SuperMember

SuperMember
Join Date: Dec 2006
Location: San Francisco
Age: 57
Posts: 1,567
Blog Entries: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: PHP help (positioning)

Alex...This should be in the PHP forum so I will move it for you.
Last Blog Entry: More Sara Blogging (Nov 29th, 2007)
Reply With Quote
  #3 (permalink)  
Old Jul 11th, 2007, 21:26
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: PHP help (positioning)

Sorry... again ha.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #4 (permalink)  
Old Jul 11th, 2007, 21:30
sannbe's Avatar
SuperMember

SuperMember
Join Date: Dec 2006
Location: San Francisco
Age: 57
Posts: 1,567
Blog Entries: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: PHP help (positioning)

That's ok, that's why we have moderators here....I myself have had a few posts moved...since I am not always sure the best place to put them. Before ya know, you will be posting here like a pro....

All we have to do now, is get some of our PHP pro's here to help you...
Last Blog Entry: More Sara Blogging (Nov 29th, 2007)
Reply With Quote
  #5 (permalink)  
Old Jul 11th, 2007, 21:33
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: PHP help (positioning)

Thanks man (:
Just need some help now.
Anyone?
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #6 (permalink)  
Old Jul 11th, 2007, 22:42
Up'n'Coming Member
Join Date: Jul 2007
Location: France
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Re: PHP help (positioning)

Hi, alexgeek.

Bit of a problem knowing where to start. You say,
Quote:
Is there some way to do this without DIVs? I hate them... they move about where they want.
One reason for this is that you are mixing tables with divs. Either use tables and style with CSS (hardly necessary with your site), or preferably use pure HTML/CSS with PHP as required.

You've started off with a transitional Doctype (why?) Use strict. Then you've closed the header and opened the body with another transitional Doctype. It's all really a mess.

You've also got two stylesheets linked as php.css, without any reference to php anywhere. Do you understand the difference between php and CSS?

And your background image: you could edit that from > 13K to < 500 bytes. It only needs to be 1 px wide and then repeat the image across the div.

From what you've got so far, dump the tables and style with CSS. Where does your php come in? Sort out the HTML so that it's not duplicated, and alter your background image.

Hopefully that will put you on the right road. If there's anything you don't understand, ask away.
Reply With Quote
  #7 (permalink)  
Old Jul 11th, 2007, 23:17
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: PHP help (positioning)

Wow! Thanks for the big reply
Okay so you are saying that for example instead of the top "banner" being a 100% table with two columns it should be a DIV?

The doctype was the default for dreamweaver, I'm new to php so don't know the difference, between the two. How do I "tidy up" this?

Quote:
Originally Posted by matelot View Post
You've also got two stylesheets linked as php.css, without any reference to php anywhere. Do you understand the difference between php and CSS?
It was named php.css as it was just for my php files, as before now I've only used xml, xlst and hmtl.


I changed the background
Should save a bit of bandwidth.

And PHP is at the moment just an include command.
everything on that page is from "nav.php" besides an odd div at the end that was there for a test only.

Thanks again!
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #8 (permalink)  
Old Jul 11th, 2007, 23:18
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: PHP help (positioning)

By the way, that page is down at the moment due to my laptop crashing whilst FTPing about 5 PHP pages.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #9 (permalink)  
Old Jul 12th, 2007, 17:16
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: PHP help (positioning)

It's back up.
Gunna look up doctypes for now until I get a reply
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #10 (permalink)  
Old Jul 12th, 2007, 17:22
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: PHP help (positioning)

It's back up.
Gunna look up doctypes for now until I get a reply
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #11 (permalink)  
Old Jul 12th, 2007, 19:31
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: PHP help (positioning)

back, with a little bit more understanding
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #12 (permalink)  
Old Jul 13th, 2007, 12:35
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: PHP help (positioning)

I'm curious as to what you are using PHP for?
Reply With Quote
  #13 (permalink)  
Old Jul 13th, 2007, 12:55
Up'n'Coming Member
Join Date: Sep 2006
Location: UK
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Re: PHP help (positioning)

Quote:
I'm curious as to what you are using PHP for?

Quote:
Originally Posted by alexgeek View Post
And PHP is at the moment just an include command.
Reply With Quote
  #14 (permalink)  
Old Jul 13th, 2007, 13:16
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: PHP help (positioning)

ah ... thanks! So ... this really isn't a PHP question then I'll move it back to the CSS section.

Next time Alex, please put a more specific topic as to not confuse us more

Last edited by karinne; Jul 13th, 2007 at 13:19.
Reply With Quote
  #15 (permalink)  
Old Jul 13th, 2007, 15:45
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: positioning

sorry.
Thought there might be some sort of special php code involved
thought wrong
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #16 (permalink)  
Old Jul 13th, 2007, 16:45
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: positioning

No ... so ... what do you need help with now? Or have you fixed your problem?
Reply With Quote
  #17 (permalink)  
Old Jul 13th, 2007, 17:07
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: positioning

http://alexgeek.co.uk

you tell me
Feedback on how it looks and how it's positioned wanted
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #18 (permalink)  
Old Jul 13th, 2007, 17:25
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: positioning

If you want a review, post your site up in the Critique section.
Reply With Quote
  #19 (permalink)  
Old Jul 13th, 2007, 17:55
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: positioning

Well It's not really a review..
It's just a comment on the positioning of the content.
Should I still ask at the review section?
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
Reply

Tags
alex, alexgeek, alexgeekcouk, align, geek, php, positioning

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 On

Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS and positioning djme Web Page Design 6 Feb 3rd, 2006 13:27
Positioning with CSS Tino Web Page Design 8 Jan 21st, 2006 15:45
css positioning ivyholly Web Page Design 14 Dec 20th, 2005 18:43
Positioning with css Hub Web Page Design 12 Dec 13th, 2005 19:45
div positioning benbacardi Web Page Design 10 May 24th, 2004 12:25


All times are GMT. The time now is 19:14.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43