Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Optimal way to create blank space?
Old 12-09-2006, 04:03 PM Optimal way to create blank space?
Novice Talker

Posts: 5
Trades: 0
What's the best way to create blank vertical space? I'm assuming using a bunch of <p> tags isn't optimal. Should I just create an image the same color as the bg? Thanks.
kep1 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-09-2006, 04:29 PM Re: Optimal way to create blank space?
Novice Talker

Posts: 6
Name: Jon
Trades: 0
It all depends on the situation and the elements to which you can apply style. A very general answer would be to definitely use CSS as opposed to HTML to create the space you're looking for. Are you familiar with CSS?
__________________
Jon - Albany NY

Please login or register to view this content. Registration is FREE
and
Please login or register to view this content. Registration is FREE
shockent is offline
Reply With Quote
View Public Profile
 
Old 12-09-2006, 04:43 PM Re: Optimal way to create blank space?
Novice Talker

Posts: 5
Trades: 0
Quote:
Originally Posted by shockent View Post
Are you familiar with CSS?
A little. I know I need to learn it well though. I should stop being lazy and just do it
kep1 is offline
Reply With Quote
View Public Profile
 
Old 12-09-2006, 06:43 PM Re: Optimal way to create blank space?
blackhawkpowers's Avatar
Ultra Talker

Posts: 313
Name: Dustin
Location: GA
Trades: 0
use something like

HTML Code:
<div style="height: 500px;"> </div>
that would give you a blank space but only put it where you want your blank space You could provide us more information if this doesn't fit your needs such as you wanted the blank space only on one side or the other...... this will free up the space vertically and 100% across the page......
__________________
A patch is a piece of software which replaces old bugs with new bugs.

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
blackhawkpowers is offline
Reply With Quote
View Public Profile Visit blackhawkpowers's homepage!
 
Old 12-10-2006, 04:09 AM Re: Optimal way to create blank space?
moondog's Avatar
Ultra Talker

Posts: 256
Location: Croatia
Trades: 0
CSS is the best solution
moondog is offline
Reply With Quote
View Public Profile
 
Old 12-10-2006, 04:17 AM Re: Optimal way to create blank space?
Novice Talker

Posts: 5
Trades: 0
Quote:
Originally Posted by blackhawkpowers View Post
use something like

HTML Code:
<div style="height: 500px;"> </div>
ya this works very well. ty.
kep1 is offline
Reply With Quote
View Public Profile
 
Old 12-10-2006, 06:00 AM Re: Optimal way to create blank space?
Mooofasa's Avatar
Defies a Status

Posts: 1,611
Name: Michael (mik) Land
Location: England
Trades: 0
Really, you shouldn't use elements just for spaces. Elements were designed to contain data, or child elements which in turn should contain the data.

If you have two photographs, and you want a larger space between them, simple use the margin property of CSS.
HTML Code:
<img style="margin-bottom: 20px;" ...
<img ...
This would be more semantically accurate. It would also help to reduce cross-browser display issues.
__________________

Please login or register to view this content. Registration is FREE
- Tumblog with thoughts, quotes, links, videos, images and my creations.

Please login or register to view this content. Registration is FREE
- The best free web browser.

Please login or register to view this content. Registration is FREE
- Firefox is now Firefail.
Mooofasa is offline
Reply With Quote
View Public Profile Visit Mooofasa's homepage!
 
Reply     « Reply to Optimal way to create blank space?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.65264 seconds with 12 queries