/    Sign up×
Community /Pin to ProfileBookmark

Missing styling after editing html

I am using Kompozer to edit text in html files from my site. I make changes in the wysiwyg screen and then save in the default xhtml format. I then upload the edited file to my site (html) in Cpanel. When I open the file in a browser (Chrome) the edited content is there but without styling.

Is this because the css within the html needs to refer to an external .css file?

Any help gratefully received.

to post a comment
HTML

4 Comments(s)

Copy linkTweet thisAlerts:
@jedaisoulNov 16.2014 — I am not familiar with Komposer, but I would expect that it has the facility to view the code it creates? If so, is it not apparent where the CSS is being put, and hence why it is not in the HTML file?
Copy linkTweet thisAlerts:
@TradedogauthorNov 17.2014 — I am not familiar with Komposer, but I would expect that it has the facility to view the code it creates? If so, is it not apparent where the CSS is being put, and hence why it is not in the HTML file?[/QUOTE]

The html file has:

<meta name="keywords" content="fundnation, uniprogy" />

<meta name="description" content="This site is powered by Fundnation" />

<link rel="stylesheet" type="text/css" href="/assets/de492915/all.css" />

<link rel="stylesheet" type="text/css" href="/assets/29955a8f/help.css" />

<link rel="stylesheet" type="text/css" href="/themes/classic/css/help.section.index.css" />

<link rel="stylesheet" type="text/css" href="/themes/classic/css/bootstrap.css" />

<link rel="stylesheet" type="text/css" href="/themes/classic/css/responsive.css" />

<script type="text/javascript" src="/assets/65f2ed2e/jquery.min.js"></script>

<script type="text/javascript" src="/assets/de492915/all.js"></script>

<title>FAQ - Prevalidator - Powered by Prevalidator</title>

</head><body id="wrapper_main" class="classic-theme">

<div id="content">

which I presume is referring to an external stylesheet. There is a .css file in the same directory in Cpanel but the html file does not seem to be talking to it.

Many Thanks
Copy linkTweet thisAlerts:
@jedaisoulNov 21.2014 — What you need to check is [i]what changes when you edit the web page[/i]. I.e. What file dates and times alter? Only then will you know precisely what needs updating on the live site (as well as the HTML file).

Failing that, just update [i]all[/i] the CSS files linked in the HTML file! It is not an elegant solution, but if that does not solve the problem, then there is something mighty strange going on!
Copy linkTweet thisAlerts:
@HemanthmalliDec 03.2014 — [/QUOTE]
Hi,

You should have to add the font style and color code for the text in the required page.
×

Success!

Help @Tradedog spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.6,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...