3
votes
Accepted
CSS Having No Affect in PSET7
shift-reload or ctrl-F5 will clear the browser's cache and (should) reload your css file.
2
votes
Accepted
Why "rowspan" is not working in my code
You have more <tr> than </tr>, and the rowspan elements probably should be in the first row.
Maybe you can try something like
{% for stock in symbol %}
<tr>
<td>{{...
2
votes
Accepted
How To Make A Google "I'm Feeling Lucky" Button For CS50 Project 0
To make an I'm feeling lucky button, use this code
<input value="I'm Feeling Lucky" aria-label="I'm Feeling Lucky" id="lucky" name="btnI" type="submit&...
1
vote
Header links won't align to the right (P2)
I'm not familiar with align-items (and, like a lot of CSS, it makes my head itch). And the Examples on the MDN doc page don't show any difference among 'center', 'right' and 'left'. I do know that ...
1
vote
Accepted
CS50 Final Project / Personalized HTML path
The path should be:
@app.route("/entry/<title>", methods=["GET"])
@login_required
def entry(title):
return render_template("entry.html", title=title)
This will ...
1
vote
Why my css file is not being implemented in my html file?
<link rel="spreadsheet" href="style.css">
The rel should be "stylesheet" not "spreadsheet"
1
vote
Accepted
pset8 postal code not greying out like the staff's
You can enclose your postal_code with <span></span> tags and either alter the style inline with the style attribute or give that <span> element an id or class and customize this id/...
1
vote
Accepted
Relative linking
@CliffB nailed it in the comments. If your css directory is located in the parent directory of my-page, the correct way to use a relative path would be to prepend ../ before your path.
This could be ...
1
vote
Accepted
Webdesign (final project question)
Uh here is my problem. I had main_display.php in my public folder, which I was messing around with. But I also had a main_display.php in my template folder, which i never changed and that was what was ...
1
vote
Webdesign (final project question)
I fought with a similar pathing problem and it turned out that $_SERVER['DOCUMENT_ROOT'] was the cause. It is set in the apache configuration which might not be totally clear from the php doc.
'...
1
vote
pset8 : index.html does not find files in public/css , /js ... etc
Nevermind, it was the a very stupid mistake. I wasn't using the correct address, instead of using this path http://pset8/, I was using this one file:///home/jharvard/vhosts/pset8/public/index.html.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
css × 26html × 14
pset7 × 6
pset8 × 4
finance × 3
final-project × 3
php × 3
final × 3
cs50x × 2
javascript × 2
portfolio × 2
style × 2
project0 × 2
google × 2
pset5 × 1
c × 1
python × 1
search × 1
cs50-web-programming-with-python × 1
query × 1
cs50w × 1
table × 1
portfolio.php × 1
typeahead × 1
homepage × 1