MOTION - CHAT Thread - We...MOTION - ENTRY Thread - W...Poll for Birds W/e 13/6/2...DOUBLE EXPOSURE-ENTRIES-W...DOUBLE EXPOSURE-CHAT-Week...What bemused you today?Birds - Chat ThreadBirds - Entry ThreadBBC 4 Great Photography C...POLL - HEATWhat annoyed you today?Another new camera and a ...POLL-INSECTSHEAT - Chat thread weekly...HEAT - Entry thread Weekl...INSECTS-CHAT-Weekly Comp ...

Author Topic: Dreamweaver trouble  (Read 3606 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?

Online Mick

  • I've got the latest Canon - 4 rings, double oven and eye level grill! And HD video!
  • Administrator
  • Hero Member
  • *****
  • Posts: 2564
  • 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. :)

Online Mick

  • I've got the latest Canon - 4 rings, double oven and eye level grill! And HD video!
  • Administrator
  • Hero Member
  • *****
  • Posts: 2564
  • 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 MOTION - CHAT Thread - Weekly Comp 12/06/2021 - 20/06/2021 International Weekly Comp Entries 136/6 anglefire Last post Today at 08:47:20 PM
xx MOTION - ENTRY Thread - Weekly Comp 12/06/2021 - 20/06/2021 International Weekly Comp Entries 164/5 Jediboy Last post Today at 07:30:50 PM
xx Poll for Birds W/e 13/6/21 International Weekly Comp Entries 133/4 anglefire Last post Today at 06:04:36 PM
question DOUBLE EXPOSURE-ENTRIES-Weekly Comp 21-27/6/21 International Weekly Comp Entries 34/0 Hinfrance Last post Today at 10:07:47 AM
xx DOUBLE EXPOSURE-CHAT-Weekly Comp 21-27/6/21 International Weekly Comp Entries 29/0 Hinfrance Last post Today at 10:07:40 AM
xx What bemused you today? General Discussion 502980/2622 anglefire Last post June 19, 2021, 06:49:20 PM
xx Birds - Chat Thread International Weekly Comp Entries 296/7 anglefire Last post June 16, 2021, 05:39:58 AM
xx Birds - Entry Thread International Weekly Comp Entries 251/4 jinky Last post June 14, 2021, 06:20:27 PM