What annoyed you today?MACRO/CLOSE UP CHAT - for...Macro/ Close Up PollMY FAVOURITE ..... CHAT ...MACRO / CLOSE UP ENTRIES...Photoshop subscriptionMY FAVOURITE ..... ENTRY...POLL-FLORA MONOCHROMEPoll for GLASSGLASS - ENTRY thread - t...CHAT-FLORA MONOCHROME-Wee...ENTRIES-FLORA MONOCHROME-...1Dx Mk3GLASS chat thread - th...POLL DECONSTRUCTEDDeconstructed - ENTRIES 2...

Author Topic: Dreamweaver trouble  (Read 3058 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: 2550
  • 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: 2550
  • 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 What annoyed you today? General Discussion 615162/3945 StephenBatey Last post Today at 05:21:05 PM
xx MACRO/CLOSE UP CHAT - for weekly comp 17-24/05/2020 International Weekly Comp Entries 163/4 jinky Last post Today at 07:08:56 AM
xx Macro/ Close Up Poll International Weekly Comp Entries 79/1 Oldboy Last post May 28, 2020, 02:54:28 PM
xx MY FAVOURITE ..... CHAT THREAD 25th- 31st May 2020 International Weekly Comp Entries 150/6 Oldboy Last post May 27, 2020, 12:16:45 AM
xx MACRO / CLOSE UP ENTRIES for weekly comp 17-24th May 2020 International Weekly Comp Entries 142/5 jinky Last post May 25, 2020, 06:35:33 PM
xx Photoshop subscription General Discussion 650/23 Jediboy Last post May 25, 2020, 06:35:16 PM
xx MY FAVOURITE ..... ENTRY THREAD 25th- 31st May 2020 International Weekly Comp Entries 44/0 jinky Last post May 25, 2020, 08:07:47 AM
xx POLL-FLORA MONOCHROME International Weekly Comp Entries 247/2 Beaux Reflets Last post May 23, 2020, 06:37:39 PM