what's the problem?

User 2495153 Photo


Registered User
14 posts

I keep getting told that my post is empty - after I've entered it three times. I tried uploading two screen shots but nothing.
Attachments:
Bill Watters
User 2495153 Photo


Registered User
14 posts

I cannot get my Css to link with the hmtl page despite following the W3 instructions to the letter. Please help
Bill Watters
User 122279 Photo


Senior Advisor
14,624 posts
Online Now

If you have the html files in one folder and the css in another, both folders on the same level, the path is
../css/styles.css

The '../' means out of one folder, and the 'css/' means into the other folder.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 471275 Photo


Ambassador
1,130 posts

Try adding this in the head section of your html

<link rel="stylesheet" href="css/styles.css">

:)

User 38401 Photo


Senior Advisor
10,951 posts

It's also not standard practice to put your html files in a separate folder. Unless they are for specific things that need to be separated they should reside in the root folder of your site. That keeps it a whole lot easier to mark up your files like you're needing to do now. A lot less of this ../.. kid of stuff :)
User 2287960 Photo


Ambassador
580 posts

Jo Ann wrote:
It's also not standard practice to put your html files in a separate folder. Unless they are for specific things that need to be separated they should reside in the root folder of your site. That keeps it a whole lot easier to mark up your files like you're needing to do now. A lot less of this ../.. kid of stuff :)


Jo Ann

Not so sure that is true anymore, I am seeing many use an HTML folder for all HTML except index and also separate CSS folders.

Originally everything went in root.

Keith
User 122279 Photo


Senior Advisor
14,624 posts
Online Now

I agree if you want to password protect your site. In such a case it's best to keep the pages in a folder, and just have the index with a log-in outside this folder. But I think in that case I would put the css folder, any images folders, js folders or so also inside the html folder.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 2495153 Photo


Registered User
14 posts

Hi Folks, Thanks a lot for the help. I have tried the suggestions without success. After reading the help pages once again I thought to do what is suggested and use the CSS Designer. It has done precisely what you all suggested but it didn't do anything for styling my page.

Here's what I got:

<link rel="stylesheet" type="text/css" href="/css/style.css-menu.css" media="screen">
<link rel="stylesheet" type="text/css" href="/css/menu-menu.css" media="screen">

I put the forward slashes in close to the href tag to see if it made a difference.

Fearing some computer problem was the cause of the malfunction I replaced the HTML editor 12 with a fresh download. I soldier on regardless!
Bill Watters
User 187934 Photo


Senior Advisor
20,266 posts

Bill, Have you published your site yet? Everybody above will have you fixed in a jiffy if you can provide a link. If you want it removed after you post we can do that.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2495153 Photo


Registered User
14 posts

Hello Eric, Not published yet. I have bought the domain 'BillWattersInc.co.uk' and currently working to complete my Photoshop design. I haven't even approached the server uploading problem yet. I just got a book from the library but it's way out of date with XHTML but I thought some of the info might apply - sadly no. Can I send a jpg of my folder structure as that might be where the problem lies?
Attachments:
Bill Watters

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.