| | |
How to make up the blank?
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Dec 2004
Posts: 1,655
Reputation:
Solved Threads: 35
Your question, as asked, is impossible to answer. You've left us too much to guess. What kind of script? What kind of content? Is this a CSS question relating to placement of HTML elements? Margins? Padding? Centering? Or are you asking for suggestions as to what kind of generic content you could place on your site? What does "make up it" mean?
Last edited by tgreer; Feb 3rd, 2006 at 4:19 pm.
•
•
Join Date: Apr 2005
Posts: 32
Reputation:
Solved Threads: 0
this is the script:
It generates some content, but the page's right is blank. I want to add some content at the right.
HTML and CSS Syntax (Toggle Plain Text)
<script type="text/javascript" src="http://xmlheadlines.com/?a=get_content&id=54&category_template_id=50&style_template_id=45"> </script>
It generates some content, but the page's right is blank. I want to add some content at the right.
•
•
Join Date: Dec 2004
Posts: 1,655
Reputation:
Solved Threads: 35
Ok, I think I'm understanding now.
The way to create a page with two separate "content sections" is to arrange the content into separate block-level elements.
You can do this with a TABLE, or with DIV elements.
A DIV looks like:
Normally, the second DIV would display below the first DIV. You can change this behavior with CSS. The CSS attribute you'd use would be "float".
Here is a complete, though very simplistic, example:
You should tinker with this, look up the CSS "float" attributes, understand what they do, as well as the other CSS properties (such as "width"). Learn the difference between CSS "class" definitions and "id" definitions.
The way to create a page with two separate "content sections" is to arrange the content into separate block-level elements.
You can do this with a TABLE, or with DIV elements.
A DIV looks like:
HTML and CSS Syntax (Toggle Plain Text)
<div id="leftSide"> Place whatever HTML you want here, including scripts that generate content. </div> <div id="rightSide"> Place whatever HTML you want here, including scripts that generate content. </div>
Normally, the second DIV would display below the first DIV. You can change this behavior with CSS. The CSS attribute you'd use would be "float".
Here is a complete, though very simplistic, example:
HTML and CSS Syntax (Toggle Plain Text)
<html> <head> <style type="text/css"> .left { float:left; width:250px; } .right { float:right; width:250px; } </style> </head> <body> <div id="leftSide" class="left"> Place whatever HTML you want here, including scripts that generate content. </div> <div id="rightSide" class="right"> Place whatever HTML you want here, including scripts that generate content. </div> </body> </html>
You should tinker with this, look up the CSS "float" attributes, understand what they do, as well as the other CSS properties (such as "width"). Learn the difference between CSS "class" definitions and "id" definitions.
![]() |
Similar Threads
- Edit email form replies to not show blank answers (HTML and CSS)
- computer can't even get to xp logo (Troubleshooting Dead Machines)
- Shifting Arrays (one space to right) (C)
- Mysterious Laptop Problems! (USB Devices and other Peripherals)
- Need Help Urgently (JavaScript / DHTML / AJAX)
- nested joins, from mdb. Possible? (Visual Basic 4 / 5 / 6)
- MySQL drivers not loading? (Java)
Other Threads in the HTML and CSS Forum
- Previous Thread: How to use xml?
- Next Thread: Serving up html using cgi-perl
Views: 1673 | Replies: 5
| Thread Tools | Search this Thread |
Tag cloud for HTML and CSS
2002 appointments asp background backgroundcolor beta browser bug calendar cart center cgi code codeinjection corporateidentity create css deleted design development displayimageinsteadofflash dreamweaver drupal emailmarketing epilepsy explorer firefox flash font fonts form format free frontpage google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft missing mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization perl pnginie6 positioning problem scroll seo shopping studio swf swf. templates textcolor theme timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7 wordpress xml xsl







Is it possible also add contennent supplied by script to make up the blank?