|
|
Post a Project »
Find a Professional HTML Freelancer!
Find a Freelancer to help you with your HTML projects
| |
|
when i enter text in dreamweaver to fill the page, space to right in browser
09-09-2008, 05:57 PM
|
when i enter text in dreamweaver to fill the page, space to right in browser
|
Posts: 611
|
hi, this guy gave me some text to fill my dreamweaver window, and it shows up exactly the same in the browser and fills the page. i copy and paste it in. but when i enter my own text exactly the same way. the browser shows up a space to the right and it doesnt fill up the page. is there something wrong with dreamweaver? any help greatly appreciated. ive narrowed my problem all day to this one problem. all day. and im losing it. any help you can id appreciate. thanks. derek
edit-the only way i can fill the page in dreamweaver so it looks the same
in the browser is to type all the way to 1000 pixels. even when i type under his text in a text editor the same width. and paste it into dreamweaver, his text goes to 750px, and my line goes to 1000
Last edited by silverglade; 09-09-2008 at 06:16 PM..
|
|
|
|
09-09-2008, 06:11 PM
|
Re: when i enter text in dreamweaver to fill the page, space to right in browser
|
Posts: 2,071
Name: carl
Location: UK
|
Hi
you say you copy and paste it in, are you copying and pastng from notepad or word?
If its word you may be better pasting in notepad 1st then copying that into DW.
Also check you're actually pasting it in the correct place, if its just text your pasting try pasting it in code view so you know exactly which div the code is being placed.
If that fails please post some code up 
|
|
|
|
09-09-2008, 06:41 PM
|
Re: when i enter text in dreamweaver to fill the page, space to right in browser
|
Posts: 611
|
well the pasting was only for him to show me that i can fill the browser page. but only his text works. what i really want to do is just type in my text in the dreamweaver 750px window, and have that fill the browser page like his did. but when i type the full dreamweaver window, it only fills up 75% of the browser window, and a large space to the right. here is his code that works properly and fills up both dreamweaver and browser properly.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<p>On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and demoralized by the charms of pleasure of the moment, so blinded by desire, that they cannot foresee the pain and trouble that are bound to ensue; and equal blame belongs to those who fail in their duty through weakness of will, which is the same as saying through shrinking from toil and pain. These cases are perfectly simple and easy to distinguish. In a free hour, when our power of choice is untrammelled and when nothing prevents our being able to do what we like best, every pleasure is to be welcomed and every pain avoided. But in certain circumstances and owing to the claims of duty or the obligations of business it will frequently occur that pleasures have to be repudiated and annoyances accepted. The wise man therefore always holds in these matters to this principle of selection: he rejects pleasures to secure other greater pleasures, or else he endures pains to avoid worse pains. On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and demoralized by the charms of pleasure of the moment, so blinded by desire, that they cannot foresee the pain and trouble that are bound to ensue; and equal blame belongs to those who fail in their duty through weakness of will, which is the same as saying through shrinking from toil and pain. These cases are perfectly simple and easy to distinguish. In a free hour, when our power of choice is untrammelled and when nothing prevents our being able to do what we like best, every pleasure is to be welcomed and every pain avoided. But in certain circumstances and owing to the claims of duty or the obligations of business it will frequently occur that pleasures have to be repudiated and annoyances accepted. The wise man therefore always holds in these matters to this principle of selection: he rejects pleasures to secure other greater pleasures, or else he endures pains to avoid worse pains.</p>
</body>
</html>
and here is my code that i typed in that doesnt work properly. it only fills up
75% of the browser window with the space to the right. in order for me to fill up the browser window, instead of typing the normal 750px in dreamweaver window, i have to type all the way to about 1000px. i have no clue why.
here is my non working code, that goes to the left and leaves a huge right
space in the browser window.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<p>now is the time for all good men to figure out what the heck is the matter with my html
dreamweaver, or whatever. asdfasdfasdfasdfasdfasdfasdfadfasdfasdfafdasdfasdfasdfasdfasdfadsf
asdfasdfasdfasdfasdfadfasfdasdfasdfasdfasdfasdfasdfadfasdfasdfasdfasdfasdfasdfasdfasdfasdfs
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfafsasdfasdfat this is the end this is.</p>
</body>
</html>
any help would be greatly appreciated because i got up at 8am this morning trying to format pages of stuff, only to find out at 7pm i have some kind of formating problem with even just text alone. ive spent all day trying to figure this out and im afraid its my copy of dreamweaver.
Last edited by silverglade; 09-09-2008 at 06:45 PM..
|
|
|
|
09-09-2008, 07:50 PM
|
Re: when i enter text in dreamweaver to fill the page, space to right in browser
|
Posts: 10,017
Location: Tennessee
|
His text is real words, separated by spaces, text wraps, etc. Yours is NOT real words, it's nothing but run-on characters with no breaks in most of it.
I doubt there's anything wrong with DW. We really do need to see ALL the code too, these snippets don't cut it.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
Please login or register to view this content. Registration is FREE
Please login or register to view this content. Registration is FREE
|
|
|
|
09-09-2008, 07:53 PM
|
Re: when i enter text in dreamweaver to fill the page, space to right in browser
|
Posts: 611
|
that is all the code. they arent snippets. i tried to simplify the examples to help others and myself figure out what is going on. no matter what i do, dreamweaver makes me type out to 1000 pixels to fill the browser page. i cant figure out why his text works. but it does, fills dreamweaver up to normal 750px window, and fills the browser window. when i try to do the same with my text, it is off to the left with a big space to the right every time. any help appreciated thanks. i wanted to resolve this tonight so i can sleep well. please. derek
here is some code with me typing stuff out, then previewing it with the same bad results.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<p>here is some normal text that is not going to work for some reason as i type up to 750 pixels in dreamweaver, and its going<br />
have a huge space to the right. i guess thats all for now. i dont want to type up to 1000 again. now lets test the page. yep,<br />
it is to the left and has a large space to the right again. jeez.</p>
</body>
</html>
my grandfather lives in Soddy Daisy tennessee i dont know if youve heard of it.
Last edited by silverglade; 09-09-2008 at 08:03 PM..
|
|
|
|
09-09-2008, 08:01 PM
|
Re: when i enter text in dreamweaver to fill the page, space to right in browser
|
Posts: 10,017
Location: Tennessee
|
I don't see any CSS in your last example that would limit the width to 750px 
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
Please login or register to view this content. Registration is FREE
Please login or register to view this content. Registration is FREE
|
|
|
|
09-09-2008, 08:34 PM
|
Re: when i enter text in dreamweaver to fill the page, space to right in browser
|
Posts: 611
|
when i pasted this text into dreamweaver at 750 pixels, it filled the whole browser window without any css. i have no idea why it worked and my text does not fill the browser.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<p>On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and demoralized by the charms of pleasure of the moment, so blinded by desire, that they cannot foresee the pain and trouble that are bound to ensue; and equal blame belongs to those who fail in their duty through weakness of will, which is the same as saying through shrinking from toil and pain. These cases are perfectly simple and easy to distinguish. In a free hour, when our power of choice is untrammelled and when nothing prevents our being able to do what we like best, every pleasure is to be welcomed and every pain avoided. But in certain circumstances and owing to the claims of duty or the obligations of business it will frequently occur that pleasures have to be repudiated and annoyances accepted. The wise man therefore always holds in these matters to this principle of selection: he rejects pleasures to secure other greater pleasures, or else he endures pains to avoid worse pains. On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and demoralized by the charms of pleasure of the moment, so blinded by desire, that they cannot foresee the pain and trouble that are bound to ensue; and equal blame belongs to those who fail in their duty through weakness of will, which is the same as saying through shrinking from toil and pain. These cases are perfectly simple and easy to distinguish. In a free hour, when our power of choice is untrammelled and when nothing prevents our being able to do what we like best, every pleasure is to be welcomed and every pain avoided. But in certain circumstances and owing to the claims of duty or the obligations of business it will frequently occur that pleasures have to be repudiated and annoyances accepted. The wise man therefore always holds in these matters to this principle of selection: he rejects pleasures to secure other greater pleasures, or else he endures pains to avoid worse pains.</p>
</body>
</html>
i tried this also to make the text in css from 750 to 1000px. but it didnt work. im using dreamweaver cs3.
Code:
<style type="text/css">
<!--
.textstyle {
margin: 0px;
padding: 0px;
width: 1000px;
}
-->
</style>
i guess im just going to have to work in the 1000px view width in dreamweaver.
thats the only way it works.
Last edited by silverglade; 09-09-2008 at 10:14 PM..
|
|
|
|
09-10-2008, 03:00 AM
|
Re: when i enter text in dreamweaver to fill the page, space to right in browser
|
Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
|
style rules have to be applied to an element before they are effective.
In your code it would be the opening tag of either the body element or the P element where the class should be applied.
eg:
<body class="textstyle"> OR <p class="textstyle">
__________________
Chris. ->> Please login or register to view this content. Registration is FREE <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
|
|
|
|
09-17-2008, 08:06 PM
|
Re: when i enter text in dreamweaver to fill the page, space to right in browser
|
Posts: 2,071
Name: carl
Location: UK
|
Hi,
I think your getting a bit confused about what DW can and cant do and how it works.
I would suggest using one of the DW blank page templates - on the front selection menu of DW select File, then New, then Blank Page then choose a template (stick with fixed width layouts to start with)
then reading the css and html comments and see how the code should be laid out with the CSS.
This will give you much more insight into how things work - you can then play about with the template and see how things work. If you spent as much time doing this as you have trying to sort this one problem out you will more than likely find the answer yourself
I would also suggest scanning the stickies on the relevant subjects
http://www.webmaster-talk.com/css-forum/
and
http://www.webmaster-talk.com/html-forum/
Hope this helps.
Last edited by bakerc; 09-17-2008 at 08:10 PM..
|
|
|
|
|
« Reply to when i enter text in dreamweaver to fill the page, space to right in browser
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|