The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

2 Pages V < 1 2  
Reply to this topicStart new topic
> Embedding .PHP file
dsmith916
post Jan 16 2013, 04:23 AM
Post #21


Advanced Member
****

Group: Members
Posts: 162
Joined: 5-December 12
Member No.: 18,203



QUOTE(Frederiek @ Jan 15 2013, 10:08 AM) *

You have an empty div with id="title" which has some unneeded CSS which applies anyway. The entire div isn't needed and will push the menu up a bit if you delete it. To push the menu up some more, you can set a negative margin-top to #menu.

You have empty P's all over the place. Why?

Getting rid of the first <p></p> will push up the signature already.
Getting rid of another will help to decrease the space between "photo sets:" and the sets themselves. But there, the #photos div has a padding-top: 20px;. Get rid of that or decrease it to your liking.

As a general advice: If you want to create some spacing, don't use empty elements, but rather use margin or padding on the other elements that have content.

BTW, <center></center> is deprecated, use CSS instead.


Ok! Thanks. That all helped.

How can I make certain things capitalized? Like "Photo Sets:" and "ABOUT"?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Frederiek
post Jan 16 2013, 04:35 AM
Post #22


Programming Fanatic
********

Group: Members
Posts: 5,146
Joined: 23-August 06
From: Europe
Member No.: 9



You have set text-transform: lowercase; to div#pageTitle. Use uppercase instead ( see http://reference.sitepoint.com/css/text-transform ).

As for the "about", you have:
CODE
<a href="http://duncansphotos.com/about" target="_top">
    <font size="+3" face="Palatino Linotype, bold">About</font>
</a>

The FONT tag is deprecated in HTML 4+. Giving the A a CLASS, you can set font-family, font-size, font-weight and text-transform etc. to it.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
dsmith916
post Jan 16 2013, 07:02 PM
Post #23


Advanced Member
****

Group: Members
Posts: 162
Joined: 5-December 12
Member No.: 18,203



QUOTE(Frederiek @ Jan 16 2013, 04:35 AM) *

You have set text-transform: lowercase; to div#pageTitle. Use uppercase instead ( see http://reference.sitepoint.com/css/text-transform ).

As for the "about", you have:
CODE
<a href="http://duncansphotos.com/about" target="_top">
    <font size="+3" face="Palatino Linotype, bold">About</font>
</a>

The FONT tag is deprecated in HTML 4+. Giving the A a CLASS, you can set font-family, font-size, font-weight and text-transform etc. to it.


How do I get (http://duncansphotos.com/sitefiles/sets2.php) sets2.php to load when people visit http://duncansphotos.com/gallery ?

I have an index.html file in /gallery/ of my server. How I get it to load the content of sets2.php (http://duncansphotos.com/sitefiles/sets2.php) automatically instead?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Frederiek
post Jan 17 2013, 03:23 AM
Post #24


Programming Fanatic
********

Group: Members
Posts: 5,146
Joined: 23-August 06
From: Europe
Member No.: 9



I already answered that in another thread you started for this question: http://forums.htmlhelp.com/index.php?showtopic=17582
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

2 Pages V < 1 2
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 6th May 2024 - 05:50 PM