End of an EraPoll - Doom and GloomDOOM and GLOOM CHAT 13-2...Outdoors - CHAT thread - ...DOOM and GLOOM ENTRIES 1...POLL - FruitOutdoors - ENTRY thread -...POLL - VehiclesENTRIES-FRUIT-Weekly Comp...CHAT-FRUIT-Weekly Comp 6-...VEHICLES - CHAT thread we...VEHICLES - ENTRY thread w...Poll - PortraitsPortraits - CHAT - Weekly...Portraits - ENTRIES-Weekl...POLL-BIRDS

Author Topic: Dreamweaver trouble  (Read 3239 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: 2557
  • 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: 2557
  • 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 End of an Era General Discussion 58/5 jinky Last post Today at 06:40:48 AM
xx Poll - Doom and Gloom International Weekly Comp Entries 168/5 Jediboy Last post September 26, 2020, 09:30:50 PM
xx DOOM and GLOOM CHAT 13-20/092020 International Weekly Comp Entries 207/6 jinky Last post September 22, 2020, 09:54:12 AM
xx Outdoors - CHAT thread - Weekly comp 20/09/20 - 27/09/20 International Weekly Comp Entries 134/4 Oldboy Last post September 22, 2020, 12:03:31 AM
xx DOOM and GLOOM ENTRIES 13-20/092020 International Weekly Comp Entries 136/3 Oldboy Last post September 21, 2020, 11:51:45 PM
xx POLL - Fruit International Weekly Comp Entries 217/4 jinky Last post September 21, 2020, 08:58:04 AM
xx Outdoors - ENTRY thread - Weekly Comp 20/09/30 - 27/09/20 International Weekly Comp Entries 49/0 Jediboy Last post September 20, 2020, 12:03:53 PM
xx POLL - Vehicles International Weekly Comp Entries 347/6 Jediboy Last post September 15, 2020, 09:01:03 AM