POLL - Home and GardenHOME AND GARDEN - Weekly ...HOME AND GARDEN - Weekly ...FOOD PHOTOGRAPHY CHAT - 5...POLL - Something good, We...FOOD PHOTOGRAPHY ENTRIES ...What annoyed you today?What made you feel good t...SOMETHING GOOD - Weekly C...SOMETHING GOOD - Weekly C...Poll - Stuck at HomeJoke of the day ENTRIES Stuck at Home 17...CHAT -Stuck at Home 17-22...LIQUID- POLLLIQUID - Chat thread week...

Author Topic: Dreamweaver trouble  (Read 3017 times)

Offline CML-1591

  • Sr. Member
  • ****
  • Posts: 293
    • Flickr
Dreamweaver trouble
« on: November 23, 2009, 04:36:31 PM »
Anyone know how to create a DIV tag (i think) within a DIV tag and keep it on the same line but the other side of the page?

Thanks for the help!



Landscape photography is the supreme test of the photographer - and often the supreme disappointment. - Ansel Adams,

picsfor

  • Guest
Re: Dreamweaver trouble
« Reply #1 on: November 23, 2009, 05:22:13 PM »
and div align=right isn't doing it?

Offline Mick

  • I've got the latest Canon - 4 rings, double oven and eye level grill! And HD video!
  • Administrator
  • Hero Member
  • *****
  • Posts: 2545
  • I really, really hate lawn mowers.
    • Camera Craniums
Re: Dreamweaver trouble
« Reply #2 on: November 23, 2009, 05:54:09 PM »
and div align=right isn't doing it?

Andrew should that be
Code: [Select]
<div align="right">
so code,
Code: [Select]
<div align="right">
This is some text as an example.
</div>

Will give you   :pointr:
This is some text as an example.

« Last Edit: November 23, 2009, 05:56:45 PM by admin »
Thank You, "Guest" For Reading This Post.

My Gallery
Tinyportal.net Running SMF 2.0.13 / Tinyportal 1.0
Guitarist Guild Running SMF 2.0.13 / Tinyportal 1.2R
The Garden Machinery Forum Running SMF 2.0.13 / Tinyportal 1.2R

picsfor

  • Guest
Re: Dreamweaver trouble
« Reply #3 on: November 23, 2009, 06:18:30 PM »
yes, that what was i was thinking - i was just being lazy about the code.

But reading through the request again i'm not really sure what you are after Craig.

What is it you are trying to achieve?
A table can be used just as easily to insert text and have it placed in columns or similar...

If you could supply some more information i'm more than sure you will get one or more solutions to your problem.

Offline CML-1591

  • Sr. Member
  • ****
  • Posts: 293
    • Flickr
Re: Dreamweaver trouble
« Reply #4 on: November 23, 2009, 07:17:43 PM »
I have a web comp!



I have a width of 1000px (this too big?) and so i made the header thing 1000px, i figure if i made that width smaller i could then do a second header for the top nav and have it along side ?

I'm guessing I can't have the red and white writing on this?

Thanks folks!
« Last Edit: November 23, 2009, 07:21:23 PM by CML-1591 »
Landscape photography is the supreme test of the photographer - and often the supreme disappointment. - Ansel Adams,

Offline CML-1591

  • Sr. Member
  • ****
  • Posts: 293
    • Flickr
Re: Dreamweaver trouble
« Reply #5 on: November 23, 2009, 07:20:47 PM »
and div align=right isn't doing it?

This is the first time I have used dreamweaver since year 10 and its using xhtml and css which i haven't come across before. The woman just said insert a div within a div and it just goes underneath.

To have the things in different places I haven't a clue if to use padding, positioning or any of the other things that are similar lol!
Landscape photography is the supreme test of the photographer - and often the supreme disappointment. - Ansel Adams,

Hybridphotog

  • Guest
Re: Dreamweaver trouble
« Reply #6 on: November 23, 2009, 07:27:20 PM »
This is the first time I have used dreamweaver since year 10 and its using xhtml and css which i haven't come across before. The woman just said insert a div within a div and it just goes underneath.
Doesn't Dreamweaver also have a WYSIWYG thing? If so, then just doing the old drag-n-drop should sort the problem out.

Mind you, 'wizziwig' does tend to defeat the object of learning website coding. Vim! :D
To have the things in different places I haven't a clue if to use padding, positioning or any of the other things that are similar lol!
Have a look at http://www.oswd.org/ for some ideas. :)

Offline Mick

  • I've got the latest Canon - 4 rings, double oven and eye level grill! And HD video!
  • Administrator
  • Hero Member
  • *****
  • Posts: 2545
  • I really, really hate lawn mowers.
    • Camera Craniums
Re: Dreamweaver trouble
« Reply #7 on: November 23, 2009, 08:06:59 PM »
Craig, this site is quite handy too, http://www.w3schools.com/
Thank You, "Guest" For Reading This Post.

My Gallery
Tinyportal.net Running SMF 2.0.13 / Tinyportal 1.0
Guitarist Guild Running SMF 2.0.13 / Tinyportal 1.2R
The Garden Machinery Forum Running SMF 2.0.13 / Tinyportal 1.2R

Offline Alfonso_Frisk

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1294
    • http://www.flickr.com/photos/nosmo_king2007/
    • My Shipping images
Re: Dreamweaver trouble
« Reply #8 on: November 23, 2009, 08:19:48 PM »
Is there an English version of this thread ??? :D
http://www.fluidr.com/photos/nosmo_king2007
http://www.seateamimages.com/search.php
Wine improves with age, The older I get the more I like it.

Offline CML-1591

  • Sr. Member
  • ****
  • Posts: 293
    • Flickr
Re: Dreamweaver trouble
« Reply #9 on: November 23, 2009, 08:32:49 PM »
Craig, this site is quite handy too, http://www.w3schools.com/

I have that somewhere, hmm maybe it was on my delicious , thanks.

Is there an English version of this thread ??? :D

Tell me about it! FTP and some other stuff this week lol!
Landscape photography is the supreme test of the photographer - and often the supreme disappointment. - Ansel Adams,

Offline CML-1591

  • Sr. Member
  • ****
  • Posts: 293
    • Flickr
Re: Dreamweaver trouble
« Reply #10 on: November 23, 2009, 08:34:55 PM »
This is the first time I have used dreamweaver since year 10 and its using xhtml and css which i haven't come across before. The woman just said insert a div within a div and it just goes underneath.
Doesn't Dreamweaver also have a WYSIWYG thing? If so, then just doing the old drag-n-drop should sort the problem out.

Mind you, 'wizziwig' does tend to defeat the object of learning website coding. Vim! :D
To have the things in different places I haven't a clue if to use padding, positioning or any of the other things that are similar lol!
Have a look at http://www.oswd.org/ for some ideas. :)

Thanks Dave,

Yeah we have to do the coding crud!
Landscape photography is the supreme test of the photographer - and often the supreme disappointment. - Ansel Adams,

Offline Alfonso_Frisk

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1294
    • http://www.flickr.com/photos/nosmo_king2007/
    • My Shipping images
Re: Dreamweaver trouble
« Reply #11 on: November 23, 2009, 08:35:23 PM »
Eh ???????
http://www.fluidr.com/photos/nosmo_king2007
http://www.seateamimages.com/search.php
Wine improves with age, The older I get the more I like it.

picsfor

  • Guest
Re: Dreamweaver trouble
« Reply #12 on: November 23, 2009, 08:39:49 PM »
on a coding side - using plain html i would ahve used a table to insert you menu options as displayed on the webpage pictured.
you've defined a page with a width of 1000 pixels which is more than acceptable nowadays.
So just insert a single line table with the columns defined to set widths and colour and then insert you links...

If memory serves CSS does it in a slightly more refined manner. Never really got into it big time though!

Offline Graham

  • Hero Member
  • *****
  • Posts: 1543
Re: Dreamweaver trouble
« Reply #13 on: November 23, 2009, 08:52:10 PM »
  Like Mr Frisk I too would like to contribute to this thread....Unfortunatly I don't have a bloody clue what your all taking about! :-[
                             Graham. :)

  As you were.
Build a man a fire and he'll be warm for a day.
Set a man on fire and he'll be warm for the rest of his life. 

My Gallery
My Flickr Pics

Offline Colin

  • Sr. Member
  • ****
  • Posts: 327
    • My Woodturning
Re: Dreamweaver trouble
« Reply #14 on: November 24, 2009, 07:45:58 AM »
on a coding side - using plain html i would ahve used a table to insert you menu options as displayed on the webpage pictured.
you've defined a page with a width of 1000 pixels which is more than acceptable nowadays.
So just insert a single line table with the columns defined to set widths and colour and then insert you links...

If memory serves CSS does it in a slightly more refined manner. Never really got into it big time though!


The current standards are that tables are used for tabular data not positioning. All positioning should be done by css div's and the display and content should be separate css for display and html for content.

Back to the OP though you can do this with a float.

In this case you have one div for the header and then one each for the left and right content so the html code would be something like

Code: [Select]
<div class="header">
<div class="header_left">
left content here
</div>
<div class"header_right">
right content here
</div>
</div>

Then your css would be something like

Code: [Select]
.header {width:1000px; height:100px;}
.header_left {width:200px; float:left;}
.header_right {width:300px; float:right;}

This would give you a 500px clear space between the two divs.

Hope this helps.

 

latest Posts

Subject Board Views/Replies Member Date & Time
xx POLL - Home and Garden International Weekly Comp Entries 74/0 Jediboy Last post April 07, 2020, 11:06:27 AM
xx HOME AND GARDEN - Weekly Comp CHAT THREAD International Weekly Comp Entries 178/4 anglefire Last post April 07, 2020, 07:46:19 AM
xx HOME AND GARDEN - Weekly Comp ENTRY THREAD International Weekly Comp Entries 169/4 anglefire Last post April 07, 2020, 07:45:17 AM
xx FOOD PHOTOGRAPHY CHAT - 5th-12th April 2020 International Weekly Comp Entries 108/4 Jediboy Last post April 06, 2020, 04:14:53 PM
xx POLL - Something good, Weekly Competition International Weekly Comp Entries 226/5 Jediboy Last post April 05, 2020, 11:46:39 PM
xx FOOD PHOTOGRAPHY ENTRIES 5th-12th April 2020 International Weekly Comp Entries 68/0 jinky Last post April 05, 2020, 10:28:18 AM
xx What annoyed you today? General Discussion 594381/3924 Oldboy Last post April 02, 2020, 06:25:36 PM
xx What made you feel good today General Discussion 571762/3895 Oldboy Last post April 01, 2020, 10:38:32 AM